SpotExtractorLid

class ctapointing.imagesolver.SpotExtractorLid(**kwargs: Any)

Bases: SpotExtractor

SpotExtractor for the camera lid

Attributes Summary

science_camera_name

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:
__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:
science_camera_name

name of science camera