class UnitScaling : public Unit Scaling unit descriptor
| | UnitScaling (const char* name, double slope, double ofs = 0, bool scaleY = true, Descriptor* cald = 0) Constructor |
| | ~UnitScaling () Destructor |
| | Apply (float* x, float* y, int N, EUnitMagnitude mag = kUnitMagOne, bool complex = false) const Scale |
| | GetSlope () const Get slope |
| | GetOffset () const Get offset |
| | IsYScaling () const Scale Y? |
| | UnitIdentityX () Get a unit descriptor for the identity unit (x axis) |
| | UnitIdentityY () Get a unit descriptor for the identity unit (y axis) |
| | UnitRadPerSec () Get a unit descriptor for f -> rad/s |
| | UnitHertz () Get a unit descriptor for f -> Hz |
| | UnitSec () Get a unit descriptor for t -> sec |
| | UnitMin () Get a unit descriptor for t -> min |
| | UnitHour () Get a unit descriptor for t -> hour |
| | UnitDay () Get a unit descriptor for t -> day |
| | fSlope Slope |
| | fOffset Offset |
| | fY Scale Y data |
| | kIdentityX the identity unit (x axis) |
| | kIdentityY the identity unit (y axis) |
| | kRadPerSec a unit which represents f -> rad/s |
| | kHertz a unit which represents f -> Hz |
| | kSec a unit which represents t -> sec |
| | kMin a unit which represents t -> min |
| | kHour a unit which represents t -> hour |
| | kDay a unit which represents t -> day |
Describes a unit which implements simple scaling and offset corrections.
double fOffset
bool fY
UnitScaling(const char* name, double slope, double ofs = 0, bool scaleY = true, Descriptor* cald = 0)
virtual ~UnitScaling()
virtual bool Apply(float* x, float* y, int N, EUnitMagnitude mag = kUnitMagOne, bool complex = false) const
double GetSlope() const
double GetOffset() const
bool IsYScaling() const
static const UnitScaling& UnitIdentityX()
static const UnitScaling& UnitIdentityY()
static const UnitScaling& UnitRadPerSec()
static const UnitScaling& UnitHertz()
static const UnitScaling& UnitSec()
static const UnitScaling& UnitMin()
static const UnitScaling& UnitHour()
static const UnitScaling& UnitDay()
static const UnitScaling kIdentityX
static const UnitScaling kIdentityY
static const UnitScaling kRadPerSec
static const UnitScaling kHertz
static const UnitScaling kSec
static const UnitScaling kMin
static const UnitScaling kHour
static const UnitScaling kDay
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++