CWEPR
- class specatalog.models.measurements.CWEPR(**kwargs)[source]
Continuous-wave electron paramagnetic resonance (cw-EPR) measurement.
This subclass of
Measurementrepresents a continuous-wave EPR experiment. This model adds method-specific parameters such as microwave frequency band and attenuation, while all general metadata (temperature, solvent, operator, timestamps, etc.) are inherited fromMeasurement.The model participates in SQLAlchemy polymorphism using the
"cwepr"polymorphic_identity. Any row inmeasurementswheremethod='cwepr'will therefore be loaded as aCWEPRinstance.- id
Primary key linked to
measurements.idwith cascading delete.- Type:
int
- frequency_band
Microwave frequency band used for the cw-EPR experiment. (X-band, Q-band…), e.g.
XorQ.- Type:
FrequencyBands
- attenuation
Microwave attenuation setting applied during signal acquisition.
- Type:
str
Notes
The tablename is
cweprAll shared metadata fields are inherited and documented in
Measurement.The
idof aCWEPRobject corresponds directly to the associated row in the mainmeasurementstable.
Examples
Creating a CW-EPR measurement:
>>> from measurements import CWEPR >>> from molecules import Molecule >>> mol = Molecule(name="TEMPO1") >>> m = CWEPR( ... molecule=mol, ... method="cwepr", ... temperature=295.0, ... solvent="Water", ... date=date(2025, 3, 10), ... measured_by="Alice", ... path="/data/M17", ... corrected=True, ... evaluated=False, ... frequency_band="X", ... attenuation="10 dB", ... ) >>> session.add(m) >>> session.commit()
Polymorphic loading:
>>> m = session.query(Measurement).filter_by(id=17).one() >>> type(m) <class 'models.CWEPR'>