sample_data#
jeanspy.model.SphericalDSphEstimationModel.sample_data
Class and construction: SphericalDSphEstimationModel.
- SphericalDSphEstimationModel.sample_data(size=None)[source]#
Draw conditional Gaussian LOS velocities at the stored positions.
The mean is vmem_kms and the variance is the predicted LOS variance plus the squared stored measurement error, in (km/s)^2.
size=Nonereturns a broadcast vector of shape (N,); explicit sizes must be compatible with that per-star shape. Uses SciPy’s global random state. Positions and measurement errors remain fixed; this is not a phase-space DF sampler.