FITS

##
FITS

            CLIC\FITS name [/PLOT] [/BASELINE b] [/ANTENNA a] [/OVERWRITE]

        Create  for  each selected line subband a FITS file containing the spec-
        tral data. The fits file names are  e.g.  name-l01.fits,  name-l02.fits,
        name-l03.fits  (one  fits  file is created for each subband), if one has
        specified SET SUBBAND L01 L02 L03.

        For autocorrelation data, the data from all antennas are averaged.   For
        correlation  data,  the complex data from all baselines are averaged and
        the real part of the resulting visibility is used.

        Option /ANTENNA exports a single logical antenna for autocorrelation da-
        ta instead of averaging all antennas together.  Option /BASELINE exports
        a single logical baseline for correlation data instead of averaging  all
        baselines together. The baseline label uses the same logical notation as
        in SET BASELINE.  Option /PLOT displays  the  selected  spectrum  before
        writing the FITS file.

        Only  one  selector can be specified. Use /ANTENNA only for autocorrela-
        tion data and /BASELINE only for correlation  data.   Option  /OVERWRITE
        allows replacing an existing output FITS file.

        This  command allows to easily write out spectra from point-like sources
        to be further analyzed in CLASS. Reading the data in CLASS  and  writing
        them in a CLASS-format file can be done with a procedure like:

            FILE OUT myfile NEW
            FITS READ name-l01.fits
            WRITE next_obs
            FITS READ name-l02.fits
            WRITE next_obs
            etc..