sample#

jeanspy.model.SphericalDSphEstimationModel.sample

Class and construction: SphericalDSphEstimationModel.

SphericalDSphEstimationModel.sample(size=None)[source]#

Draw sampling-coordinate vectors from the specified joint prior.

Uniform bounds apply to every coordinate; the log-radius coordinate is drawn from the product of those bounds and the Gaussian photometric prior. size=None returns (ndim,); a sample count/shape precedes that parameter axis. Uses the NumPy/SciPy global random state. Invalid prior schemas raise ValueError before sampling.