nectarchain.makers.extractor.utils.CtapipeExtractor#
- class CtapipeExtractor[source]#
Bases:
objectA class to extract the image and peak time from a DL1CameraContainer object.
Methods
Build a short string summarising non-default extractor keyword arguments.
Extracts the image and peak time from a DL1CameraContainer object.
- get_extractor_kwargs_str(extractor_kwargs: dict)[source]#
Build a short string summarising non-default extractor keyword arguments.
- Parameters:
- methodstr
Name of the ctapipe extractor class.
- extractor_kwargsdict
Keyword arguments to pass to the extractor.
- Returns:
- str
Concatenation of
trait_valuepairs for arguments that differ from the default, or"default"if all are at their defaults.
- get_image_peak_time()[source]#
Extracts the image and peak time from a DL1CameraContainer object.
Parameters: cameraContainer (DL1CameraContainer): The DL1CameraContainer object to extract the image and peak time from.
Returns: tuple: A tuple containing the image and peak time values from the container.