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


next up previous contents
Next: UniPOPS SDD data file Up: Getting Data Into Dish Previous: MeasurementSets

SDFITS data file

  1. Convert to MS

    Use the AIPS++ utility sdfits2ms to convert from a fits file following the SDFITS convention to an AIPS++ table. The syntax, from the UNIX prompt, is:

    sdfits2ms sdfits_name ms_name, for example:
    
    charybdis<965>$ sdfits2ms n7027.sdfits n7027.ms
    0%....10....20....30....40....50....60....70....80....90....100%
    End Successfully:      34.79 real        5.43 user        5.03 system
    

  2. Use the AIPS++ utility fits2table to convert from a binary table following the SDFITS convention to an AIPS++ table. The syntax, from the UNIX prompt, is:
    fits2table input=sdfits_file output=aips2_table [which_hdu=#]
    
    where ``sdfits_file'' is the name of the SDFITS file and ``aips2_table'' is the desired name of the new AIPS++ table created by this step. The third argument, ``which_hdu'', is optional. Use this to specify a specific FITS header data unit (hdu) other than the first one after the primary hdu. For example, if you have a FITS file which has three tables following the primary hdu and the second table is a valid SDFITS table then you would use which_hdu=2 to indicate that that hdu is the one to be converted to the indicated output AIPS++ table.


next up previous contents
Next: UniPOPS SDD data file Up: Getting Data Into Dish Previous: MeasurementSets   Contents
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
2004-08-28