AbstractCamera#
- class msfc_ccd.abc.AbstractCamera[source]#
Bases:
PrintableAn interface describing a generalized camera.
Attributes
The name of the logical axis corresponding to changing horizontal tap.
The name of the logical axis corresponding to changing vertical tap.
The conversion factor between electrons and ADC counts.
A model of the sensor used by this camera to capture light.
The current exposure length.
Methods
__init__()calibrate_temperature_adc_1(value)Convert the ADC 1 temperature from counts to physical units.
Convert the ADC 2, 3, or 4 temperature from counts to physical units.
calibrate_temperature_fpga(value)Convert the FPGA temperature from counts to physical units.
calibrate_timedelta_exposure(value)Convert the exposure time from counts to physical units.
calibrate_voltage_fpga(value)Convert the FPGA voltage from counts to physical units.
Convert an array from DN to electrons by multiplying by
gain.to_string([prefix])Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.Inheritance Diagram

- classmethod calibrate_temperature_adc_1(value)[source]#
Convert the ADC 1 temperature from counts to physical units.
- classmethod calibrate_temperature_adc_234(value)[source]#
Convert the ADC 2, 3, or 4 temperature from counts to physical units.
- classmethod calibrate_temperature_fpga(value)[source]#
Convert the FPGA temperature from counts to physical units.
- classmethod calibrate_timedelta_exposure(value)[source]#
Convert the exposure time from counts to physical units.
- classmethod calibrate_voltage_fpga(value)[source]#
Convert the FPGA voltage from counts to physical units.
- dn_to_electrons(a)[source]#
Convert an array from DN to electrons by multiplying by
gain.- Parameters:
a (Quantity | AbstractArray)
- Return type:
- to_string(prefix=None)#
Public-facing version of the
__repr__method that allows for defining a prefix string, which can be used to calculate how much whitespace to add to the beginning of each line of the result.
- abstract property axis_tap_x: str#
The name of the logical axis corresponding to changing horizontal tap.
- abstract property axis_tap_y: str#
The name of the logical axis corresponding to changing vertical tap.
- abstract property gain: Quantity | AbstractScalar#
The conversion factor between electrons and ADC counts.
- abstract property sensor: AbstractSensor#
A model of the sensor used by this camera to capture light.
- abstract property timedelta_exposure: Quantity | AbstractScalar#
The current exposure length.