next up previous contents_motif.gif
Next: 5.5.3 Opening a plot Up: 5.5 Detailed description of Previous: 5.5.1 All at once:


5.5.2 Reading a FITS file

Reading a FITS file into BoA is done with the read() command. You may want to define the input directory first:
  indir("../Fits/")      # set the input directory 
  read('APEX-600')       # read file APEX-600.fits
The data are then stored in the default data object. It is possible to use several data objects, and to store the content of a file to a user defined object requires the following syntax:
  data2 = BoaMapping.Map()  # define a second data object of class Map
  data2.read('APEX-600')


Frank Bertoldi 2005-11-10