Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | dish | |
Module | dish |
Use the dishdemodata function to get a copy of the demonstration data, as in this example:
- include 'dishdemodata.g' T - dishdemodata() T
The following text appears in the AIPS++ logger:
dishdemodata starts Creating demo table : dishdemo1 FITS file found : /aips++/data/demo/dishdemo/dishdemo1.fits Begin converting it to an aips++ table ... Demo table created : dishdemo1 Creating demo table : dishdemo2 FITS file found : /aips++/data/demo/dishdemo/dishdemo2.fits Begin converting it to an aips++ table ... Demo table created : dishdemo2 Creating demo table : dishmopra FITS file found : /aips++/data/demo/dishdemo/dishmopra.fits Begin converting it to an aips++ table ... Demo table created : dishmopra Creating demo table : dishparkes FITS file found : /aips++//data/demo/dishdemo/dishparkes.fits Begin converting it to an aips++ table ... Demo table created : dishparkes Creating demo table : dishspecproc FITS file found : /aips++/data/demo/dishdemo/dishspecproc.fits Begin converting it to an aips++ table ... Demo table created : dishspecproc The single dish demo tables are: dishdemo1 dishdemo2 dishmopra dishparkes dishspecproc
Other SDFITS files (and binary tables) can be converted using tablefromfits.
tab := tablefromfits('mydemo','/aips++/data/dishdemo/dishparkes.fits')A new table named 'mydemo' is created and filled using the input fits file (in this case, dishparkes.fits). This table is then opened and the returned value is a table tool that can be used immediately. Once the table has been converted, there is no need to run tablefromfits on that same fits file again. You can use the normal table function to re-open that table as necessary.
tab := table('mydemo')