Measurement Classes#
The following classes encode the $Pn* keywords for a single measurement.
Optical#
- class pyreflow.Optical2_0(wavelength=None, bin=None, size=None, filter='', power=None, detector_type='', percent_emitted=None, detector_voltage=None, longname='')#
FCS 2.0 $Pn* keywords for optical measurement.
- Variables:
wavelength (
float| None) – (read-write) Value of $PnL. Defaults toNone.bin (
int| None) – (read-write) Value of $PKn. Defaults toNone.size (
int| None) – (read-write) Value of $PKNn. Defaults toNone.filter (
str) – (read-write) Value of $PnF. Defaults to"".power (
float| None) – (read-write) Value of $PnO. Defaults toNone.detector_type (
str) – (read-write) Value of $PnT. Defaults to"".percent_emitted (
float| None) – (read-write) Value of $PnP. Defaults toNone.detector_voltage (
float| None) – (read-write) Value of $PnV. Defaults toNone.longname (
str) – (read-write) Value of $PnS. Defaults to"".
- Raises:
InvalidKeywordValueError – if
wavelengthis negative,0.0,NaN,inf, or-infInvalidKeywordValueError – if
detector_voltage,percent_emitted, orpoweris negative,NaN,inf, or-inf
- class pyreflow.Optical3_0(wavelength=None, bin=None, size=None, filter='', power=None, detector_type='', percent_emitted=None, detector_voltage=None, longname='')#
FCS 3.0 $Pn* keywords for optical measurement.
- Variables:
wavelength (
float| None) – (read-write) Value of $PnL. Defaults toNone.bin (
int| None) – (read-write) Value of $PKn. Defaults toNone.size (
int| None) – (read-write) Value of $PKNn. Defaults toNone.filter (
str) – (read-write) Value of $PnF. Defaults to"".power (
float| None) – (read-write) Value of $PnO. Defaults toNone.detector_type (
str) – (read-write) Value of $PnT. Defaults to"".percent_emitted (
float| None) – (read-write) Value of $PnP. Defaults toNone.detector_voltage (
float| None) – (read-write) Value of $PnV. Defaults toNone.longname (
str) – (read-write) Value of $PnS. Defaults to"".
- Raises:
InvalidKeywordValueError – if
wavelengthis negative,0.0,NaN,inf, or-infInvalidKeywordValueError – if
detector_voltage,percent_emitted, orpoweris negative,NaN,inf, or-inf
- class pyreflow.Optical3_1(wavelengths=[], calibration=None, display=None, bin=None, size=None, filter='', power=None, detector_type='', percent_emitted=None, detector_voltage=None, longname='')#
FCS 3.1 $Pn* keywords for optical measurement.
- Variables:
wavelengths (
list[float]) – (read-write) Value of $PnL. Defaults to[].calibration (
Calibration3_1| None) – (read-write) Value of $PnCALIBRATION. Tuple encodes slope and calibration units. Defaults toNone.display (
Display| None) – (read-write) Value of $PnD. First member of tuple encodes linear or log display (FalseandTruerespectively). The float members encode lower/upper and decades/offset for linear and log scaling respectively. Defaults toNone.bin (
int| None) – (read-write) Value of $PKn. Defaults toNone.size (
int| None) – (read-write) Value of $PKNn. Defaults toNone.filter (
str) – (read-write) Value of $PnF. Defaults to"".power (
float| None) – (read-write) Value of $PnO. Defaults toNone.detector_type (
str) – (read-write) Value of $PnT. Defaults to"".percent_emitted (
float| None) – (read-write) Value of $PnP. Defaults toNone.detector_voltage (
float| None) – (read-write) Value of $PnV. Defaults toNone.longname (
str) – (read-write) Value of $PnS. Defaults to"".
- Raises:
InvalidKeywordValueError – if
detector_voltage,percent_emitted, orpoweris negative,NaN,inf, or-infInvalidKeywordValueError – if any in
wavelengthsis negative,0.0,NaN,inf, or-inf
- class pyreflow.Optical3_2(wavelengths=[], calibration=None, display=None, analyte='', feature=None, tag='', measurement_type='', detector_name='', filter='', power=None, detector_type='', percent_emitted=None, detector_voltage=None, longname='')#
FCS 3.2 $Pn* keywords for optical measurement.
- Variables:
wavelengths (
list[float]) – (read-write) Value of $PnL. Defaults to[].calibration (
Calibration3_2| None) – (read-write) Value of $PnCALIBRATION. Tuple encodes slope, intercept, and calibration units. Defaults toNone.display (
Display| None) – (read-write) Value of $PnD. First member of tuple encodes linear or log display (FalseandTruerespectively). The float members encode lower/upper and decades/offset for linear and log scaling respectively. Defaults toNone.analyte (
str) – (read-write) Value of $PnANALYTE. Defaults to"".feature (
str| None) – (read-write) Value of $PnFEATURE. Defaults toNone.tag (
str) – (read-write) Value of $PnTAG. Defaults to"".measurement_type (
str) – (read-write) Value of $PnTYPE. Defaults to"".detector_name (
str) – (read-write) Value of $PnDET. Defaults to"".filter (
str) – (read-write) Value of $PnF. Defaults to"".power (
float| None) – (read-write) Value of $PnO. Defaults toNone.detector_type (
str) – (read-write) Value of $PnT. Defaults to"".percent_emitted (
float| None) – (read-write) Value of $PnP. Defaults toNone.detector_voltage (
float| None) – (read-write) Value of $PnV. Defaults toNone.longname (
str) – (read-write) Value of $PnS. Defaults to"".
- Raises:
InvalidKeywordValueError – if
detector_voltage,percent_emitted, orpoweris negative,NaN,inf, or-infInvalidKeywordValueError – if any in
wavelengthsis negative,0.0,NaN,inf, or-inf
Temporal#
- class pyreflow.Temporal2_0(bin=None, size=None, longname='')#
FCS 2.0 $Pn* keywords for temporal measurement.
- class pyreflow.Temporal3_0(timestep, bin=None, size=None, longname='')#
FCS 3.0 $Pn* keywords for temporal measurement.
- class pyreflow.Temporal3_1(timestep, display=None, bin=None, size=None, longname='')#
FCS 3.1 $Pn* keywords for temporal measurement.
- Variables:
timestep (
Timestep) – (read-write) Value of $TIMESTEP.display (
Display| None) – (read-write) Value of $PnD. First member of tuple encodes linear or log display (FalseandTruerespectively). The float members encode lower/upper and decades/offset for linear and log scaling respectively. Defaults toNone.bin (
int| None) – (read-write) Value of $PKn. Defaults toNone.size (
int| None) – (read-write) Value of $PKNn. Defaults toNone.longname (
str) – (read-write) Value of $PnS. Defaults to"".
- class pyreflow.Temporal3_2(timestep, display=None, has_type=False, longname='')#
FCS 3.2 $Pn* keywords for temporal measurement.
- Variables:
timestep (
Timestep) – (read-write) Value of $TIMESTEP.display (
Display| None) – (read-write) Value of $PnD. First member of tuple encodes linear or log display (FalseandTruerespectively). The float members encode lower/upper and decades/offset for linear and log scaling respectively. Defaults toNone.has_type (
bool) – (read-write) Value of $PnTYPE. Defaults toFalse.longname (
str) – (read-write) Value of $PnS. Defaults to"".