FluorescenceModel
- class specatalog.models.creation_pydantic_measurements.FluorescenceModel(*, molecular_id, temperature, solvent, concentration=None, date, measured_by, location=None, device=None, series=None, corrected=False, evaluated=False, excitation, excitation_wl, od=None)[source]
Pydantic model for creating new
ms.Fluorescencemeasurements.This subclass of
MeasurementModeladds Fluorescence-specific fields required to create a Fluorescence-measurement in the database. Themeasurement_classattribute is fixed toms.Fluorescenceand cannot be changed.- Parameters:
molecular_id (int)
temperature (float)
solvent (Solvents)
concentration (str | None)
date (date)
measured_by (Names)
location (str | None)
device (Devices | None)
series (str | None)
corrected (bool)
evaluated (bool)
excitation (bool)
excitation_wl (str)
od (str | None)
- measurement_class
Always set to
ms.Fluorescence. Attempting to assign a different class raises a validation error.- Type:
Type
- excitation
Indicate whether the spectrum is recorded in exitation (True) or emission (False).
- Type:
boolean
- excitation_wl
Excitation wavelength and unit.
- Type:
str
- od
Optical density / absorbance.
- Type:
str
Notes
Additional fields are forbidden (
extra='forbid').Assignment is validated on set (
validate_assignment=True).All further attributes are inherited from
MeasurementModel.