TREPRModel
- class specatalog.models.creation_pydantic_measurements.TREPRModel(*, molecular_id, temperature, solvent, concentration=None, date, measured_by, location=None, device=None, series=None, corrected=False, evaluated=False, frequency_band, excitation_wl, excitation_energy=None, attenuation, number_of_scans=None, repetitionrate=None, mode=None)[source]
Pydantic model for creating new
ms.TREPRmeasurements.This subclass of
MeasurementModeladds TREPR-specific fields required to create a time-resolved EPR measurement in the database. Themeasurement_classattribute is fixed toms.TREPRand 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)
frequency_band (FrequencyBands)
excitation_wl (float)
excitation_energy (float | None)
attenuation (str)
number_of_scans (int | None)
repetitionrate (float | None)
mode (str | None)
- measurement_class
Always set to
ms.TREPR. Attempting to assign a different class raises a validation error.- Type:
Type
- frequency_band
Microwave frequency band used for the TREPR experiment.
- Type:
av.FrequencyBands
- excitation_wl
Excitation wavelength in nanometres.
- Type:
float
- excitation_energy
Excitation energy in appropriate units; optional.
- Type:
float or None
- attenuation
Microwave attenuation setting.
- Type:
str
- number_of_scans
Number of scans acquired; optional.
- Type:
int or None
- repetitionrate
Repetition rate of the experiment; optional.
- Type:
float or None
- mode
Experimental mode descriptor; optional.
- Type:
str or None
Notes
Additional fields are forbidden (
extra='forbid').Assignment is validated on set (
validate_assignment=True).All further attributes are inherited from
MeasurementModel.