castor_etc.detector

Detector module

.. caution:: This contains a work-in-progress implementation of a “detector sensor” module, to include noise sources into the exposure time calculations.

This is a module to implement some of the different noise sources that contributes to a reading on a detector.

This is meant to abstract some of the features such that they can be added to the final measurement through some mixin class of some sort.

This is still work in progress, so please do not import this package directly for use.

Module Contents

Classes

TempDependentNoise

DarkCurrentNoise

ReadoutNoise

Data

DARK_CURRENT_PROFILE

READOUT_NOISE_PROFILE

API

class castor_etc.detector.TempDependentNoise(profile: dict)

Bases: castor_etc.BaseClass

Initialization

_profile: dict = None
get_mean_value(target_temp: float)
get_median_value(target_temp: float)
get_peak_value(target_temp: float)
castor_etc.detector.DARK_CURRENT_PROFILE = None
class castor_etc.detector.DarkCurrentNoise(profile=DARK_CURRENT_PROFILE)

Bases: castor_etc.detector.TempDependentNoise

Initialization

castor_etc.detector.READOUT_NOISE_PROFILE = None
class castor_etc.detector.ReadoutNoise(profile=READOUT_NOISE_PROFILE)

Bases: castor_etc.detector.TempDependentNoise

Initialization