Converts standardised CCD z-coordinates (in \(\mathbb{R}^k\)) to
physical hyperparameters \(\theta\) via the affine map
\(\theta = \hat\theta + L \cdot z\) with optional log-scale
transform per component. L is typically a Cholesky factor of the
negative Hessian inverse evaluated at the (working) mode \(\hat\theta\)
– i.e. it scales z to one posterior standard deviation per axis.
Arguments
- z
Matrix
[n_points x k]of standardised coordinates fromccd_grid().- theta_hat
Numeric vector of length
k: centre of the design, in either physical or log-space (perlog_scale).- L
Numeric
[k x k]matrix: scale/rotation applied to z. Passdiag(sd)for a diagonal axis-aligned grid wheresdis the per-axis posterior SD; pass a Cholesky factor to capture correlations between hyperparameters.- log_scale
Logical (or logical vector of length k). If
TRUEfor component j,theta_hat[j]and column j of the affine transform live on log-scale and are exponentiated afterward (useful for positive parameters like tau). DefaultFALSEeverywhere.