PointingModelFitterLid
- class ctapointing.pointingmodel.PointingModelFitterLid(**kwargs: Any)
Bases:
ComponentPointing model fitting class.
Attributes Summary
fit distance goal
list of parameters fixed during fitting
maximum number of fit iterations
name of PointingModelFitter
cut value for spot outlier removal
UUID of PointingModelFitter
Methods Summary
from_config(**kwargs)Read a PointingModelFitter configuration from either configuration file or database.
process(model, solutions, camera)Attributes Documentation
- distance_goal
fit distance goal
- fixed_parameters
list of parameters fixed during fitting
- max_num_fit_iterations
maximum number of fit iterations
- name
name of PointingModelFitter
- residual_cut
cut value for spot outlier removal
- uuid
UUID of PointingModelFitter
Methods Documentation
- classmethod from_config(**kwargs)
Read a PointingModelFitter configuration from either configuration file or database. Either the path of a configuration file (‘input_url’) or a database collection (‘collection’) must be provided.
- Parameters:
input_url (str or Path) – path of the configuration file.
name (str) – name of the SpotExtractor (as in SkyFitter.name). When loading the configuration from file, can be set to check that the configuration with the correct name is loaded. When loading from database, is used to identify the correct database record.
uuid (str) – UUID of the camera (as in PointingCamera.uuid). When loading the configuration from file, can be set to check that the configuration with the correct UUID is loaded. When loading from database, is used to identify the correct database record.
collection (str) – name of the database collection from which configuration is read
database (str) – name of the database in which the collection is stored
- Returns:
fitter
- Return type:
PointingModelFitter object or None
- process(model, solutions, camera)
- distance_goal
fit distance goal
- fixed_parameters
list of parameters fixed during fitting
- classmethod from_config(**kwargs)
Read a PointingModelFitter configuration from either configuration file or database. Either the path of a configuration file (‘input_url’) or a database collection (‘collection’) must be provided.
- Parameters:
input_url (str or Path) – path of the configuration file.
name (str) – name of the SpotExtractor (as in SkyFitter.name). When loading the configuration from file, can be set to check that the configuration with the correct name is loaded. When loading from database, is used to identify the correct database record.
uuid (str) – UUID of the camera (as in PointingCamera.uuid). When loading the configuration from file, can be set to check that the configuration with the correct UUID is loaded. When loading from database, is used to identify the correct database record.
collection (str) – name of the database collection from which configuration is read
database (str) – name of the database in which the collection is stored
- Returns:
fitter
- Return type:
PointingModelFitter object or None
- max_num_fit_iterations
maximum number of fit iterations
- name
name of PointingModelFitter
- residual_cut
cut value for spot outlier removal
- uuid
UUID of PointingModelFitter