FITSSpectralUtil.h

Classes

FITSSpectralUtil -- A class with static functions to help deal with FITS spectral axes. (full description)

class FITSSpectralUtil

Interface

Public Members
static Bool fromFITSHeader(Int &spectralAxis, Double &referenceChannel, Double &referenceFrequency, Double &deltaFrequency, Vector<Double> &frequencies, MFrequency::Types &refFrame, MDoppler::Types &velocityPreference, Double &restFrequency, MDoppler &logger, const RecordInterface &header, char prefix = 'c', Bool oneRelative=True)
static Bool toFITSHeader(String &ctype, Double &crval, Double &cdelt, Double &crpix, Bool &haveAlt, Double &altrval, Double &altrpix, Int &velref, Double &restfreq, LogIO &logger, Double refFrequency, Double refChannel, Double freqIncrement, MFrequency::Types referenceFrame, Bool preferVelocity = True, MDoppler::Types velocityPreference = MDoppler::OPTICAL)
static Bool frameFromTag(MFrequency::Types &referenceFrame, const String &tag, Int velref=-1)
static Bool tagFromFrame(String &tag, Int &velref, MFrequency::Types referenceFrame)

Description

Review Status

Reviewed By:
Eric Sessoms
Date Reviewed:
2002/08/19
Programs:
Tests:

Prerequisite