NullModel

class ctapointing.pointingmodel.NullModel(**kwargs: Any)

Bases: PointingModel

A pointing model without any corrections applied.

Attributes Summary

parameters

Methods Summary

get_corrected_pointing(nominal_pointing)

Calculates the corrected pointing for a single nominal pointing position.

Attributes Documentation

parameters = []

Methods Documentation

get_corrected_pointing(nominal_pointing)

Calculates the corrected pointing for a single nominal pointing position.

In case of the NullModel, output is identical to input.

Parameters:

nominal_pointing (SkyCoord) – Nominal pointing of the telescope.

Returns:

corrected_pointing – Corrected pointing of the telescope, according to the model prediction.

Return type:

SkyCoord

__init__(config=None, parent=None, **kwargs)
Parameters:
  • config (traitlets.loader.Config) – Configuration specified by config file or cmdline arguments. Used to set traitlet values.

  • parent (Tool or Component) – If a Component is created by another Component or Tool, you need to pass the creating Component as parent, e.g. parent=self. This makes sure the config is correctly handed down to the child components. Do not pass config in this case.

  • kwargs – Traitlets to be overridden. TraitError is raised if kwargs contains a key that does not correspond to a traitlet.

get_corrected_pointing(nominal_pointing)

Calculates the corrected pointing for a single nominal pointing position.

In case of the NullModel, output is identical to input.

Parameters:

nominal_pointing (SkyCoord) – Nominal pointing of the telescope.

Returns:

corrected_pointing – Corrected pointing of the telescope, according to the model prediction.

Return type:

SkyCoord