Download Analysis Cookbook - CASA

Transcript
APPENDIX A. APPENDIX: SINGLE DISH DATA PROCESSING
309
default: 0 (no plotting)
example: plotlevel<0 as abs(plotlevel), e.g.
-1 => hardcopy of final plot (will be named
<outfile>_flag.eps)
WARNING: be careful plotting in fsotf mode!
------------------------------------------------------------------Returns: Current values of maskflag for each spectrum as a list,
only if flagmode is set to ’restore’. Note that the
’restore’ mode refers scanlist, iflist, and pollist.
DESCRIPTION:
Task sdflag performs simple channel based flagging on spectra. The flag regions in channels
can be specified in maskflag. This is not interactive flagging. If plotlevel>=1, the task asks
you if you really apply the flags before it is actually written to the data with a plot indicating
flagged regions. The flags are not written to the current (input) datasets unless outfile=’none’.
Flagged regions (or values of flag masks already applied) of the input data can be listed by setting
flagmode=’restore’. It will print out a summary on the screen and returns maskflag values for
each spectrum as a list. Please note that this task is still experimental.
A.2.1.7
sdfit
Keyword arguments:
sdfile -- name of input SD dataset
default: none - must input file name
example: ’mysd.asap’
See sdcal for allowed formats.
fluxunit -- units for line flux
options: (str) ’K’,’Jy’,’’
default: ’’ (keep current fluxunit)
WARNING: For GBT data, see description below.
>>> fluxunit expandable parameter
telescopeparm -- the telescope characteristics
options: (str) name or (list) list of gain info
default: ’’ (none set)
example: if telescopeparm=’’, it tries to get the telescope
name from the data.
Full antenna parameters (diameter,ap.eff.) known
to ASAP are
’ATPKSMB’, ’ATPKSHOH’, ’ATMOPRA’, ’DSS-43’,
’CEDUNA’,’HOBART’. For GBT, it fixes default fluxunit
to ’K’ first then convert to a new fluxunit.
telescopeparm=[104.9,0.43] diameter(m), ap.eff.