SpotExtractorLid
- class ctapointing.imagesolver.SpotExtractorLid(**kwargs: Any)
Bases:
SpotExtractorSpotExtractor for the camera lid
Attributes Summary
name of science camera
Methods Summary
generate_lid_mask(exposure, science_camera)Construct a mask that is suited for extracting the spots on the camera lid.
Attributes Documentation
- science_camera_name
name of science camera
Methods Documentation
- generate_lid_mask(exposure, science_camera)
Construct a mask that is suited for extracting the spots on the camera lid.
It creates a circular masked region centred at the position of the science camera in the image, with a radius that corresponds to the physical radius of the lid (as stored in the ctapointing.camera.ScienceCamera class).
- Parameters:
exposure (ctapointing.exposure.Exposure) – exposure for which the mask shall be constructed
science_camera (ctapointing.camera.ScienceCamera) – science camera object, the lid radius of which are used to create the lid mask
- __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.
- generate_lid_mask(exposure, science_camera)
Construct a mask that is suited for extracting the spots on the camera lid.
It creates a circular masked region centred at the position of the science camera in the image, with a radius that corresponds to the physical radius of the lid (as stored in the ctapointing.camera.ScienceCamera class).
- Parameters:
exposure (ctapointing.exposure.Exposure) – exposure for which the mask shall be constructed
science_camera (ctapointing.camera.ScienceCamera) – science camera object, the lid radius of which are used to create the lid mask
- science_camera_name
name of science camera