CameraReadout¶
-
class
ctapipe.instrument.
CameraReadout
(camera_name, sampling_rate, reference_pulse_shape, reference_pulse_sample_width)[source]¶ Bases:
object
Attributes Summary
Time axis for the reference pulse
Methods Summary
from_name
([camera_name, version])Construct a CameraReadout using the name of the camera and array.
from_table
(url_or_table, **kwargs)Load a CameraReadout from an
astropy.table.Table
instance or a file that is readable byastropy.table.Table.read
.to_table
()Convert this to an
astropy.table.Table
.Attributes Documentation
-
reference_pulse_sample_time
¶ Time axis for the reference pulse
Methods Documentation
-
classmethod
from_name
(camera_name='NectarCam', version=None)[source]¶ Construct a CameraReadout using the name of the camera and array.
This expects that there is a resource accessible
ctapipe_resources
viaget_table_dataset
called"[array]-[camera].camreadout.fits.gz"
or"[array]-[camera]-[version].camgeom.fits.gz"
.- Parameters
- camera_name: str
Camera name (e.g. NectarCam, LSTCam, …)
- version:
camera version id (currently unused)
- Returns
- new CameraReadout
-
classmethod
from_table
(url_or_table, **kwargs)[source]¶ Load a CameraReadout from an
astropy.table.Table
instance or a file that is readable byastropy.table.Table.read
.- Parameters
- url_or_table: string or astropy.table.Table
either input filename/url or a Table instance
- kwargs: extra keyword arguments
extra arguments passed to
astropy.table.Table.read
, depending on file type (e.g. format, hdu, path)
-
to_table
()[source]¶ Convert this to an
astropy.table.Table
.
-