Documentation - lx_wmap_tod_extract.pro

Extract required TOD (attitude, telemetry and scientific data) from given FITS archives to SQLite 3 databases, the format suitable for calibration.

Usage

pro lx_wmap_tod_extract, archiveDir, outputDbPrefix, mnemonics, coords, coordsHorn, Center = centerKey, auxDir, silent_mode = silent, fail_on_error = fail, exit_status = exitStatus

Parameters

  • archiveDir Directory containing the source TOD FITS archives.
  • outputDbPrefix Directory for output database files.
  • mnemonics Comma separated mnemonics of detectors to extract.
  • coords Coordinate system used for pointing (ECL, GAL, CEL).
  • coordsHorn Horn for which to calculate the pointing (A, B, AB).
  • Center If set, evaluate the pointing at the center of each observation. If not set use the beginning instead.
  • auxDir Directory with shared library (lx_tod_to_sql).
  • silent_mode If set, print only critical messages.
  • fail_on_error When an error occurs finish the current file and fail.
  • exit_status Status code. Non-zero on errors.

Examples

lx_wmap_tod_extract, "/home/user/uncalibrated-tod/", "/home/user/uncalibrated-tod-sql/", "DQ113,DW123", "GAL", "AB", /Center, "/home/user/auxiliary/"

Extract data from TOD FITS archives in "/home/user/uncalibrated-tod/" to SQLite databases in "/home/user/uncalibrated-tod-sql/". Scientific data extracted for detectors DQ113 and DW123. Pointings (both horns) extracted in galactic coordinates and evaluated at the center of each observation.

lx_wmap_tod_extract, "/home/user/uncalibrated-tod/", "/home/user/uncalibrated-tod-sql/", lx_wmap_da_to_mnemonics("V1"), "GAL", "AB", "/home/user/auxiliary/"

Extract scientific data from all V1 detectors (DV113, DV114, DV123, DV124). Evaluate pointings to the beginning of each observation.