Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Help on function generateReducScript in module almaqa2csg:

generateReducScript(msNames='', step='calib', corrAntPos=True, timeBinForFinalData=0.0, refant='', bpassCalId='', chanWid=1, angScale=0, run=False, lowSNR=False, projectCode='', schedblockName='', schedblockUid='', queue='',
state='', upToTimeForState=2, useLocalAlmaHelper=False, tsysChanTol=1, sdQSOflux=1, runPhaseClosure=False, skipSyscalChecks=False, lazy=False, lbc=False, phaseDiff=False, remcloud=False, bdfflags=True, phaseDiffPerSpwSetup=
False, tsysPerField=False, splitMyScienceSpw=True, bpassCalTableName='', reindexMyScienceSpw=False, useCalibratorService=False)

The ALMA QA2 calibration script generator

msNames: a string or a list of strings of UIDs (either ASDM or MS) to process
NOTE: rigorous regression testing is presently only done on single UIDs, not lists
default=''
step: calib, fluxcal, wvr, calsurvey, SDeff, SDcalibLine, SDcalibCont, SDscience, SDampcal
default='calib'
corrAntPos: if True, then run correctMyAntennaPositions
default=True
timeBinForFinalData: a value in seconds (string, int, or float), passed to split
default=0.
refant: the reference antenna to use (instead of automatic selection), must be a string
default='', i.e. determine automatically
bpassCalId: use the specified source for bandpass (rather than determine from the intents)
default='', i.e. determine from the intents
chanWid: integer, used by runCleanOnSource and searchForLines
default=1
angScale: deprecated

run: deprecated

lowSNR: Boolean passed to doBandpassCalibration to use whole spw for pre-bandpass phase-up
default=False
projectCode, schedblockName, queue, state, upToTimeForState: deprecated

useLocalAlmaHelper: if True, run tsysspwmap inside generator, rather than in the resulting script
default=False
tsysChanTol: integer argument passed to tsysspwmap
default=1
sdQSOflux: flux density to use for quasar in single dish case (step='SDeff')
default=1
runPhaseClosure: deprecated

skipSyscalChecks: if True, then don't check for negative Tsys problems
default=False
lazy: value of the 'lazy' parameter in importasdm. If True, reference the ASDM instead
of copying the visibilities into the DATA column of the MS. Saves disk space.
default=False
lbc: if True, invoke long-baseline campaign usage in correctMyAntennaPositions, i.e.
search='both_latest' and maxSearchDays=30;
secondly, in bandpass calibration, use solint='inf,8MHz' instead of 'inf,20ch'
default=False
remcloud: runs the recipe remove_cloud prior to running wvrgcal
default=False
bdfflags: passed to importasdm to invoke the application of BDF flags
default=True
bpassCalTableName: to use instead of default name
default='', i.e. use the bp table created for bpassCalId with the standard naming
phaseDiff: force the combination of spw. If it is not enabled, and a DGC scan is detected, then it will
automatically enable it.
default=False
phaseDiffPerSpwSetup: controls the iteration loop for the calculation of gaincal table with spw combined.
If False, the iteration will be done over the fields; if True, the iteration will be done over
the groups of spw from the same setup.
default=False
tsysPerField: passed to the perField parameter of tsysspwmap
default=False
splitMyScienceSpw: In the final split-out, only include the SPWs corresponding to intent OBSERVE_TARGET
and BANDPASS.
default=True
reindexMyScienceSpw: perform reindexing in the split out after the apriori calibration.
default=False
useCalibratorService: if True, then, in the call to aU.getALMAFluxForMS in the setjy step, use
aU.calibratorService(), otherwise use aU.getALMAFlux()
default=False

...