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


next up previous contents index
Next: dish.keep - Function Up: dish - Tool Previous: dish.imcal - Function


dish.import - Function



Package dish
Module dish
Tool dish


Import GBT data into an AIPS++ MeasurementSet


Synopsis
import(projdir, outms, outmsdir, startscan, stopscan, backend, calflag)


Description
This function writes an AIPS++ MeasurementSet from a GBT FITS directory tree, and loads the MS into DISH (via open). (NOTE: This function is exclusive to GBT data). The MeasurementSet created on disk will default to the input project name with an appended '_' followed by a backend specifier. If an 'outms' argument is supplied, it will be this string with the appended underscore and backend specified.



Arguments

projdir   project directory
    Allowed: string
    Default: no default
outms   output MeasurementSet
    Allowed: string
    Default: name derived from projdir
outmsdir   directory for output MS
    Allowed: string
    Default: current directory
startscan   starting scan to begin filling
    Allowed: integer
    Default: first scan in projdir
stopscan   ending scan for filling
    Allowed: integer
    Default: last scan in projdir
backend   which backend to fill
    Allowed: string
    Default: all
calflag   toggle to permit automated calibration upon filling
    Allowed: boolean
    Default: F


Returns
T (if successful)


Example
- d.import('standards\_apr27',outms='demo',startscan=5,stopscan=45);
T

This creates a file 'demo_SP' on disk for spectral processor data, or 'oh_SPECTROMETER_A' for the spectrometer (the additional _A designates which bank of the spectrometer was used - if only one bank, it is 'A').





next up previous contents index
Next: dish.keep - Function Up: dish - Tool Previous: dish.imcal - 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