I have `N` continuous responses `Y_n`, and the Stan implementation represents both the mean function and the log standard deviation by Hilbert-space basis approximations to one-dimensional Gaussian processes. The required data include basis matrices and Laplacian eigenvalues for one GP in the mean and one GP in the log standard deviation.

My model is:
`Y_n ~ Normal(mu_n, sigma_n), for n = 1, ..., N,`
`mu = Intercept + Xgp_1 (sqrt(s_1) .* zgp_1),`
`log(sigma) = Intercept_sigma + Xgp_sigma_1 (sqrt(s_sigma) .* zgp_sigma_1),`
`zgp_1,m ~ Normal(0, 1), for m = 1, ..., NBgp_1,`
`zgp_sigma_1,m ~ Normal(0, 1), for m = 1, ..., NBgp_sigma_1.`

The spectral weights are
`s_1,m = spd_exp_quad(slambda_1,m ; sdgp_1, lscale_1),`
`s_sigma,m = spd_exp_quad(slambda_sigma_1,m ; sdgp_sigma_1, lscale_sigma_1),`
where `spd_exp_quad` is the spectral density of the exponentiated-quadratic Gaussian-process kernel.

The underlying target covariance for the latent mean function is
`Cov(f(x), f(x')) = sdgp_1^2 exp(-(x - x')^2 / (2 lscale_1^2)),`
and the latent log-scale function has the analogous independent covariance with parameters `sdgp_sigma_1` and `lscale_sigma_1`.

The priors are
`Intercept ~ StudentT(3, -13, 36),`
`sdgp_1 ~ half-StudentT(3, 0, 36),`
`lscale_1 ~ InvGamma(1.124909, 0.0177),`
`Intercept_sigma ~ StudentT(3, 0, 10),`
`sdgp_sigma_1 ~ half-StudentT(3, 0, 36),`
`lscale_sigma_1 ~ InvGamma(1.124909, 0.0177).`

Here:
`Y_n` is the observed continuous response for observation n,
`mu_n` is the latent mean at observation n,
`sigma_n` is the observation-specific standard deviation,
`Xgp_1` is the known basis matrix for the approximate Gaussian process in the mean,
`Xgp_sigma_1` is the known basis matrix for the approximate Gaussian process in the log standard deviation,
`slambda_1` and `slambda_sigma_1` are the known Laplacian eigenvalue inputs for the two Gaussian-process approximations,
`zgp_1` and `zgp_sigma_1` are the standard-normal basis coefficients for the two approximate Gaussian processes,
`NBgp_1` and `NBgp_sigma_1` are the numbers of basis functions used in the two approximations,
`Dgp_1` and `Dgp_sigma_1` are the input dimensions of the two Gaussian-process approximations,
`Intercept` is the global intercept for the mean function,
`Intercept_sigma` is the global intercept for the log-standard-deviation function,
`sdgp_1` and `lscale_1` are the marginal standard deviation and length scale of the mean Gaussian process,
`sdgp_sigma_1` and `lscale_sigma_1` are the marginal standard deviation and length scale of the log-scale Gaussian process,
`N` is the number of observations.

Parameterization notes:
In `Normal(mu, sigma)`, `sigma` is a standard deviation.
In `InvGamma(alpha, beta)`, `alpha` is the shape parameter and `beta` is the rate-style parameter.
