3.1.12 SXT2FITS


next up previous contents
Next: 3.1.13 SAVESYS and RESTSYS Up: 3.1 Routines for Reading Previous: WRT_FITS [*]

3.1.12 SXT2FITS

It is possible to take an SXT data file or an index and data that has already been read in, and write a single FITS file for each image. The FITS header has all of the information on the date and time, the filters used, the exposure duration, the resolution, and the DP mode and rate. The following command will create a file for each image in the data array:   IDL> sxt2fits, index, data  The default file names are SF_FITSyymmdd.hhmmss and SP_FITSyymmdd.hhmmss for FFI and PFI images, respectively. If a single output file name is passed to the SXT2FITS routine, but there are several images to save, then it will append an image number to the end of the file name. In the following example, the input array is 5125123, so it will create the files `flare.0001', `flare.0002' and `flare.0003'. IDL> sxt2fits, index, data, outfil='flare'It is possible to specify an input file name in which case all images in that file will have FITS files created. It is also possible to specify a list of the images to be saved. Some examples of these calls are: IDL> sxt2fits, index, data, ss=ssIDL> sxt2fits, infil=infilIDL> sxt2fits, infil=infil, ss=ss


next up previous contents
Next: 3.1.13 SAVESYS and RESTSYS Up: 3.1 Routines for Reading Previous: WRT_FITS [*]


ydac@mssly1.mssl.ucl.ac.uk