Documentation - wmapLX

The calibration application accomplishes three main tasks. It fits a given calibration model (linear, dipole-based) on the raw temperature data and obtains calibration solutions (gain and baseline). It uses the solutions to calibrate the raw data and produces calibrated FITS archives suitable for map-making. Finally, given a sky map and calibration solutions it decalibrates the map and subtracts it from the raw data (data reduction).

Usage

wmapLX --set=<settings.ini> --action=model-fit-1 --raw_prefix=<raw SQL directory> --aux_prefix=<mask FITS file> --out_prefix=<directory for solution databases>

wmapLX --set=<settings.ini> --action=calibrate --raw_prefix=<raw SQL directory> --aux_prefix=<directory with solution databases> --out_prefix=<directory with FITS archives>

wmapLX --set=<settings.ini> --action=reduce --raw_prefix=<raw SQL directory> --aux_prefix=<map FITS file> --out_prefix=<directory with solution databases>

Parameters

  • set Path to settings.ini. An auxiliary file containing advanced settings and presets.
  • action Action to be performed.
  • raw_prefix Directory with input (raw) SQL databases.
  • aux_prefix Auxiliary data.
  • out_prefix Output directory.
  • fail If set, stop execution on recoverable errors.

Examples

wmapLX --set="/home/user/auxiliary/settings.ini" --action=model-fit-1 --raw_prefix="/home/user/uncalibrated-tod-sql/" --aux_prefix="/home/user/auxiliary/wmap_processing_r9_mask_3yr_v2.fits" --out_prefix="/home/user/calibration-solutions/"

Fit a dipole-based linear model on the raw data in "/home/user/uncalibrated-tod-sql/" and store the solutions in "/home/user/calibration-solutions/". Use "--residuals" switch to emit fit residuals.

wmapLX --set="/home/user/auxiliary/settings.ini" --action=calibrate --raw_prefix="/home/user/uncalibrated-tod-sql/" --aux_prefix="/home/user/calibration-solutions/" --out_prefix="/home/user/calibrated-tod/"

Calibrate the raw data in "/home/user/uncalibrated-tod-sql/" using solutions from "/home/user/calibration-solutions/" and store the calibrated data in FITS archives prepared in "/home/user/calibrated-tod/".

wmapLX --set="/home/user/auxiliary/settings.ini" --action=reduce --raw_prefix="/home/user/uncalibrated-tod-sql/" --aux_prefix="/home/user/map-making/map01.fits" --out_prefix="/home/user/calibration-solutions/"

Decalibrate a given map in "/home/user/map-making/map01.fits" using calibration solutions from "/home/user/calibration-solutions/" and subtract it from the raw data (reduce raw data) in "/home/user/uncalibrated-tod-sql/".