levisim.multiphysics.enums.spectrum

The SpectrumType enumeration: which spectrum to calculate

class levisim.multiphysics.enums.spectrum.SpectrumType(value)[source]

Bases: Enum

An enumeration class for the type of spectrum to be calculated

HOMODYNE = 1
HETERODYNE = 2
POSITION_PSD = 3
POSITION_CSD = 4
property is_optical

Boolean for whether the spectrum is optical (heterodyne or homodyne)

property is_position

Boolean for whether the spectrum is for position (power ‘PSD’ or cross ‘CSD’)