Skip to content

Module Descriptions

Stuart Harper edited this page Jun 5, 2019 · 2 revisions

Overview of COMAPreduce Modules

Modules are listed as sub-headings, and the available Classes are listed underneath. To invoke a Class in a parameter file simply add

order = OtherModule.OtherClass,Module.Class

Non-callable Classes are given a (Not callable) suffix.

BaseClasses

  • DataStructure - Bare bones class for designing a new data analysis module.
  • H5Data - Primary interface between the HDF5 libraries, designed to hide away a lot of the MPI complexity. (Not callable)

Calibration

  • CoordOffset - Adds a user defined timing offset (seconds) to the files UTC times and recalculates celestial coordinates.
  • RefractionCorrection - Applies refraction correction from SLALIB to elevations and recalculates celestial coordinates.
  • FillPointing - If a file does not having any sky coordinates, this will generate them and add them to the level 1 file.
  • DownSampleFrequency - Resample the a data file along the frequency direction by a fixed factor.
  • AmbLoadCal - Apply the nearest ambient load calibration measurement to this observation using NN interpolation.
  • JupCal - Apply the nearest Jupiter calibration measurement to this observation using NN interpolation.
  • AmbientLoad2Gain - Calculate the per frequency calibration factor for the number of K per raw units for a calibration vane observation.

SourceFitting

  • FitSource - Base source fitting routine. Fits a 2D gaussian to a source a specified position on the sky. Produces plots of fits for inspection.
  • FitPlanet - Like FitSource but for ephemeris objects.
  • FitSourceAlternateScans - Fits source for CW and CCW azimuth scans separately.
  • FitMultiSourceAlternateScans - Fits for multiple sources in the CW and CCW azimuth scans separately. Each source observations is expected to be separated by cal. vane injections.

Simulations

Massaging

  • CheckDsetSizes - Check if the dimensions of any given array in the data have changed (e.g. after invoking DownSampleFrequency) and update internally.
  • CopyDsets - Copy all remaining, unprocessed Level 1 groups/datasets/attributes to the new reduced dataset.
Clone this wiki locally