SMA Software Limits
for CASA via swarm2casa pipeline

Jun-Hui Zhao
Smithsonian Astrophysical Observatory
(October, 2018)

 
NC         = 4                             (Number of SWARM chunks)
NCHANSPW   = 16384                         (Maximum channels per SWARM chunk)
NCHANSWM   = NC*NCHANSPW                   (Maximum SWARM channels per bl, sb, rx, pol)
           = 65,536                        (as NC=4)

NSB        = 2                             (Number of sideband)
MAXRX      = 2                             (Maximum number of rx per track)

MAXSPW     = 1+NC                          (C1 and NC SWARM spetrcal chunks per sb, rx 
                                            C1: A single channel data, a vector-averaged of the 
                                            spectral data, or continuum channel, or ch0)
           = 5                             (as NC=4)
NCHAN      = 1+NC*NCHANSPW                 (Maximum channels per bl, sb, rx, pol)
           = 65,537                        (as NC=4)
MAXCHANSWM = MAXRX*NSB*(NC*NCHANSPW+1)     (Maximum channels per bl, pol)
           = 262,148                       (as NC=4)

MAXANT     = 8                             (Maximum number of antennas for the standard SMA)
MAXBAS     = MAXRX*NSB*MAXANT*(MAXANT-1)/2 (Maximum number of baselines) 
           = 112                               
MAXINT     = 18,000                        (Maximum number of integration scans of observing 
                                            duration 15h for 3s integration, or
                                            of observing duration 5h for 1s integration) 
MAXDATA    = (1+NC*NCHANSPW)*MAXBAS        (Maximum data points per integration)
           = 7,340,144                     (as NC=4)

NTSYS      = 2 or 4 or NC*MAXRX???         (Number of indpendent system temperature measurements per antenna per integration)

MAXSRC     = 200                           (Maximum number of sources per track,
                                            about 4.5 min integration per source in a 15h observing duration)
MAXLENSRC  = 16                            (Maximum number of characters for source name string, the last character
                                            is padded with "\0", the actual number of characters is 15)

SBCHUNK    = MAXRX*NC                      (Maximum number of spectral windows per side band)
           = 8                             (as NC=4)
MAXCHUNK   = MAXRX*NSB*NC                  (Maximum number of spectral windows per measurementSet for CASA)
           = 16                            (as NC=4 and not identical frequency configurations produced from each of the two receivers)
MAXPOL     = 4                             (Maximum pol states)
MAXDATAC   = NC*NCHANSPW*MAXBAS            (Maximum data points per integration per measurementSet for CASA)
           = 7,340,032                     (as NC=4)
MAXDATAT   = NC*NCHANSPW*MAXBAS*MAXINT     (Maximum data points per measurementSet for CASA)
           = 132,120,576,000               (as NC=4)
           = 1TB                           (Maximum byte size per measurementSet for CASA) 

________________________________
Updated by JHZ (2018-11-08)