GaussianMeasurementError¶
- class discO.GaussianMeasurementError(*, c_err: Callable | CoordinateFrame | SkyCoord | BaseRepresentation | float | ndarray | Mapping | Quantity | None = None, method: str | None = None, **kwargs)[source]¶
Bases:
RVS_Continuous
Draw a realization given Gaussian measurement errors.
- Parameters:
- rvs
callable()
(optional, keyword-only) - c_err
float
orcallable()
orNone
(optional, keyword-only) Callable with single mandatory positional argument – coordinates (“c”) – that returns the absolute error.
- frame: frame-like or None (optional, keyword-only)
- The frame of the observational errors, ie the frame in which
the error function should be applied along each dimension.
- representation_type: |Representation| or None (optional, keyword-only)
The coordinate representation in which to resample along each dimension.
- **params
Stored as
params
.
- rvs
- Raises:
ValueError
If “norm” not in the name in
rvs
.