| WRITE-ASCII-SPECTRUM | Write spectrum to ascii file for MONGO plotting etc. |
| OPEN-FITS-FILE | Open a FITS file on either tape or disk. |
| WRITE-FITS-SPECTRUM | Write the stack X-register contents to a FITS file. |
| WRITE-FITS-MAP | Make a 2-D map and write it to a FITS file. |
| CLOSE-FITS-FILE | Close the FITS file on either tape or disk. |
| WRITE-GILDAS-IMAGE | Write the current data cube to a GILDAS image. |
The current X-register spectrum can be written to a simple ASCII file suitable for reading into MONGO or other similar programs using WRITE-ASCII-SPECTRUM. Facilities are also provided for writing FITS files compatible with CLASS (see appendix E for further details). FITS files may be created either on disk or on tape; if the former then you have the option of having the data byte-reversed (standard) or not -- if the latter you can set the blocking factor as required, and also choose whether the new file will be placed at the beginning of the tape, or appended to it. Use WRITE-FITS to write the (single) spectrum or map to disk or tape, and CLOSE-FITS either to close the disk file or to write a double tape mark to the tape.