AbstractSensor#

class msfc_ccd.abc.AbstractSensor[source]#

Bases: Printable

An interface for an imaging sensor or an ensemble of imaging sensors.

Attributes

cte

The charge transfer efficiency of the sensor.

family

The model number or product family of this sensor.

manufacturer

The company which produced the sensor.

material

The light-sensitive material used by this sensor.

num_blank

The number of blank columns at the start of each row.

num_overscan

The number of overscan columns at the end of each row.

num_pixel

The number of pixels along the horizontal and vertical axes.

num_pixel_active

The number of pixels that are used to detect light.

num_tap_x

The number of taps along the long axis of the CCD sensor.

num_tap_y

The number of taps along the short axis of the CCD sensor.

readout_noise

The standard deviation of the error on each pixel value.

serial_number

A unique number which identifies this sensor.

temperature

The operating temperature of this sensor.

width_active

The physical size of the light sensitive area of the sensor.

width_pixel

The physical size of a single pixel on the imaging sensor.

Methods

__init__()

dark_current([temperature])

Calculate the rate of charge accumulation when the sensor is not illuminated.

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

Inheritance diagram of msfc_ccd.abc.AbstractSensor
dark_current(temperature=None)[source]#

Calculate the rate of charge accumulation when the sensor is not illuminated.

Parameters:

temperature (None | Quantity | AbstractScalar) – The temperature of the sensor. If None, the value of temperature is used.

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.

Parameters:

prefix (None | str) – an optional string, the length of which is used to calculate how much whitespace to add to the result.

Return type:

str

abstract property cte: Quantity#

The charge transfer efficiency of the sensor.

abstract property family: str#

The model number or product family of this sensor.

abstract property manufacturer: str#

The company which produced the sensor.

abstract property material: AbstractSiliconSensorMaterial#

The light-sensitive material used by this sensor.

abstract property num_blank: int#

The number of blank columns at the start of each row.

abstract property num_overscan: int#

The number of overscan columns at the end of each row.

abstract property num_pixel: Cartesian2dVectorArray[int, int]#

The number of pixels along the horizontal and vertical axes.

abstract property num_pixel_active#

The number of pixels that are used to detect light.

num_tap_x: ClassVar[int] = 2#

The number of taps along the long axis of the CCD sensor.

num_tap_y: ClassVar[int] = 2#

The number of taps along the short axis of the CCD sensor.

abstract property readout_noise: Quantity#

The standard deviation of the error on each pixel value.

abstract property serial_number: None | str#

A unique number which identifies this sensor.

property temperature#

The operating temperature of this sensor.

property width_active#

The physical size of the light sensitive area of the sensor.

abstract property width_pixel: Quantity#

The physical size of a single pixel on the imaging sensor.