Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: bimatester - Module Up: bimacalibrater - Module Previous: bimacalfluxtable.close - Function


bimacalibratertest - Function



Package bima
Module bimacalibrater


Test bimacalibrater


Synopsis
bimacalibratertest(verbose, modelcaltable, modeldatatable)


Description
bimacalibratertest is a function to test bimacalibrater. It uses datasets in the AIPS++ data repository. The basic strategy of the tests is to fill Miriad datasets (a target and calibrator source) and calibrate them. The resulting calibration table is compared to a fiducial table, and similarly the MODEL_DATA and CORRECTED_DATA columns of the calibrated target dataset are compared to a fiducial dataset. The function returns T if all tests pass, F otherwise. The filling, reaveraging, calibration, and tests take 10 minutes on an unloaded Linux system with a 1.5 GHz Pentium 4 processor and a 7200 rpm IDE hard drive (many portions of the function are I/O bound). The function will create a scratch directory in the current directory called bimacalibratertester_work where it will write and manipulate datasets. The datasets used are rather large, and so about 350 MB of disk space is required.



Arguments

verbose in Controls the amount of logger output, 0=none, higher numbers=more
    Allowed: Int >= 0
    Default: 1
modelcaltable in Use this table as the fiducial table for comparison with the generated calibration table
    Allowed: Any valid table name
    Default: '' (uses table in the data repository)
modeldatatable in Use this table as the fiducial table for comparison with the generated MODEL_DATA and CORRECTED_DATA columns
    Allowed: Any valid table name
    Default: '' (uses table in the data repository)


Returns
Boolean or fail



Example
- include 'bimacalibrater.g';
- bimacalibratertest();
<Lots of messages regarding filling, reaveraging, calibration, and testing>
T








next up previous contents index
Next: bimatester - Module Up: bimacalibrater - Module Previous: bimacalfluxtable.close - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01