CameraReadout#
- class ctapipe.instrument.camera.readout.CameraReadout(name, sampling_rate, reference_pulse_shape, reference_pulse_sample_width, n_channels, n_pixels, n_samples, n_samples_long=None)[source]#
 Bases:
objectStores properties related to the readout of a Cherenkov Camera.
Attributes Summary
Time axis for the reference pulse
Methods Summary
from_name([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.Tableinstance or a file that is readable byastropy.table.Table.read.to_table()Convert this to an
astropy.table.Table.Attributes Documentation
- CURRENT_TAB_VERSION = '3.0'#
 
- SUPPORTED_TAB_VERSIONS = {'3.0'}#
 
- n_channels#
 
- n_pixels#
 
- n_samples#
 
- n_samples_long#
 
- name#
 
- reference_pulse_sample_time#
 Time axis for the reference pulse
- reference_pulse_sample_width#
 
- reference_pulse_shape#
 
- sampling_rate#
 
Methods Documentation
- classmethod from_name(name='NectarCam', version=None)[source]#
 Construct a CameraReadout using the name of the camera and array.
This expects that there is a resource accessible via
get_table_datasetcalled"[array]-[camera].camreadout.fits.gz"or"[array]-[camera]-[version].camgeom.fits.gz".- Parameters:
 - 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.Tableinstance 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.