class Unit Unit descriptor
| | Unit (const char* name, Descriptor* cald = 0) Constructor |
| | ~Unit () Destructor |
| | GetName () const Get name of unit |
| | GetTrueName () const Get its true name (useful for "none" and "default") |
| | IsPower () const Unit is power rather than amplitude |
| | Apply (float* x, float* y, int N, EUnitMagnitude mag = kUnitMagOne, bool complex = false) const Apply calibration correction for this unit |
| | Factor (EUnitMagnitude mag) Gets factor from maginutde |
| | Mag (EUnitMagnitude mag) Gets string from magnitude |
| | UnitNone () Get a unit descriptor without corrections |
Describes a unit and its corresponding calibration correction formula. A calibration descriptor will maintain a list of unit descriptors appropriate for the quanity described.
kUnitMagPico
kUnitMagNano
kUnitMagMicron
kUnitMagMilli
virtual ~Unit()
virtual const char* GetName() const
virtual const char* GetTrueName() const
virtual bool IsPower() const
virtual bool Apply(float* x, float* y, int N, EUnitMagnitude mag = kUnitMagOne, bool complex = false) const
static double Factor(EUnitMagnitude mag)
static std::string Mag(EUnitMagnitude mag)
static const Unit& UnitNone()
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++