NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Main > TWikiUsers > PaulMarganian > SdfitsFrequencyAxisDocumentation
   Users | Groups | Offices | Changes | Index | Contents | Notify | Search | Jump to Topic:

Frequency Axis Documentation


Steps for determining Frequency Axis for a given backend's sampler, integration, and phase.

Below, FITS columns or keywords will use the following notation:

DeviceName.Keyword

or

DeviceName.ExtensionName.Keyword

Unless otherwise noted a FITS value (ex: SFF_SIDEBAND), will be the value for the particular Sampler in question.

Sampler = Bank + Port (ex: 'A1' = 'A' + 1)

Sdfits Frequency Axis

I. Gather Frequency Info from IF, LO1 and possibly ACS FITS files.

A. For Spectrometer (acs), get sampler channel spacing:

B. IF FITS file information gathered

C. LO1 FITS file information gathered

II. Calculate State Center Frequency for (sampler, integration, phase)

where samplerChannelSpacing was calculated in I.A and acsCenterIF was calculated in I.B

III. Frequency Axis Info written to SDFITS

GFM Frequency Axis Documentation (for Spectrometer)

GFM uses does not use the same ScanData class that the Sdfits tool uses to calculate its frequency information. The eventual goal is to refactor Sdfits to not use ScanData and for these two applications to share the same API. In addition, the API used by GFM is still not complete, and, in fact contains a bug.

I. Retrieve Center Channel

This recreates the frequency axis needed to determine the center channel. Fortunetly, the Input class caches these arrays, so they are not redundantly calculated.

II. Retrieve State Center

LO1 frequency for integration and phase calculated

lo1Freq = LO1A.LO1TBL.LO1FREQ for this integration) + (LO1A.STATE.FREQOFF for this phase)

This is done properly using the new API: the LO1 class finds the appropriate LO1 frequency to use for this integration and phase using methods identical to Sdfits in section I.C above, and adds them.

Sky Frequency Calculation

The same calculation as what is done in Sdfits in section II above is completed:

State Center Freq = ((SFF_SIDEBAND*BACKEND_CENTER_IF)+(SFF_MULTIPLIER*lo1Freq)+IF.SFF_OFFSET)

Where the IF FITS file values are read using the API properly (i.e., using the PortTable class).

III. Frequency Axis calculated

-- PaulMarganian - 02 Nov 2006

Topic SdfitsFrequencyAxisDocumentation . { Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }
Revision r1.4 - 11 Jan 2007 - 19:27 GMT - PaulMarganian
Parents: TWikiUsers > PaulMarganian
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.