ananke.ErrorModelDriver module#
Contains the ErrorModelDriver class definition
Please note that this module is private. The ErrorModelDriver class is
available in the main ananke namespace - use that instead.
- class ananke.ErrorModelDriver.ErrorModelDriver(ananke: Ananke, **kwargs: Dict[str, Any])[source]#
Bases:
objectProxy to the utilities for given error model driver parameters.
- __init__(ananke: Ananke, **kwargs: Dict[str, Any]) None[source]#
- Parameters:
ananke (Ananke object) – The Ananke object that utilizes this ErrorModel object
error_model (function [df –> dict(prop: coefficient)]) – Use to specify a model that returns error’s standard deviations per property from characterisitics of the mock star given in a dataframe format. The function must return the standard deviations per property in a dictionary format with keys corresponding to the property names returned by Galaxia (use property galaxia_catalogue_mag_and_astrometrics of the Ananke object). By default, the class will query the chosen photometric system to check if it has a default model to use. If it doesn’t find one it will simply fill errors with nan values.
- property galaxia_output: Galaxia.Output#
- property errors#
- property parameters: Dict[str, Any]#
- property ignore: bool#
- property error_model: List[Callable[[DataFrame | DataFrame], Dict[str, ndarray[Any, dtype[_ScalarType_co]]]] | Dict[str, float]]#