casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes
sdmath_cli.sdmath_cli_ Class Reference

List of all members.

Public Member Functions

def __init__
def result
def __call__
def paramgui
def defaults
def check_params
def description
def itsdefault

Public Attributes

 parameters

Static Public Attributes

 rkey
 Handle globals or user over-ride of arguments.
 i_am_a_casapy_task
list retval
 This function sets the default values but also will return the list of parameters or the default value of a given parameter.
string valornotval
tuple retval

Private Attributes

 __bases__
 __doc__
 __globals__

Static Private Attributes

string __name__
dictionary __async__

Detailed Description

Definition at line 18 of file sdmath_cli.py.


Constructor & Destructor Documentation

Definition at line 26 of file sdmath_cli.py.


Member Function Documentation

def sdmath_cli.sdmath_cli_.__call__ (   self,
  expr = None,
  varlist = None,
  antenna = None,
  fluxunit = None,
  telescopeparm = None,
  specunit = None,
  frame = None,
  doppler = None,
  scanlist = None,
  field = None,
  iflist = None,
  pollist = None,
  outfile = None,
  outform = None,
  overwrite = None,
  async = None 
)
ASAP SD task: do simple arithmatic (subtraction, addition, multiplication, and division) for spectra
  Keyword arguments:
expr -- Mathematical expression using scantables 
varlist -- Dictionary of variables in expr and their values.
   Keys must be coincide with variables used in expr.
   Values are substituted in each value in expr.
antenna -- antenna name or id (only effective for MS input). 
fluxunit -- units for line flux
options: '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.
                 telescopeparm=[0.743] gain in Jy/K
                 telescopeparm='FIX' to change default fluxunit
                 see description below

specunit -- units for spectral axis
options: (str) 'channel','km/s','GHz','MHz','kHz','Hz'
default: '' (=current)
example: this will be the units for masklist
frame -- frequency frame for spectral axis
options: (str) 'LSRK','REST','TOPO','LSRD','BARY',
         'GEO','GALACTO','LGROUP','CMB'
default: currently set frame in scantable
WARNING: frame='REST' not yet implemented
doppler -- doppler mode
options: (str) 'RADIO','OPTICAL','Z','BETA','GAMMA'
default: currently set doppler in scantable
scanlist -- list of scan numbers to process
default: [] (use all scans)
example: [21,22,23,24]
this selection is in addition to field, iflist, and pollist
field -- selection string for selecting scans by name
default: '' (no name selection)
example: 'FLS3a*'
this selection is in addition to scanlist, iflist, and pollist
iflist -- list of IF id numbers to select
default: [] (use all IFs)
example: [15]
this selection is in addition to scanlist, field, and pollist
pollist -- list of polarization id numbers to select
default: [] (use all polarizations)
example: [1]
this selection is in addition to scanlist, field, and iflist
outfile -- Name of output file
default: '' (<infile>_cal)
outform -- format of output file
options: 'ASCII','SDFITS','MS','ASAP'
default: 'ASAP'
example: the ASAP format is easiest for further sd
         processing; use MS for CASA imaging.
         If ASCII, then will append some stuff to
         the outfile name
overwrite -- overwrite the output file if already exists
options: (bool) True,False
default: False
WARNING: if outform='ASCII', this parameter is ignored


DESCRIPTION:

Task sdmath execute a mathematical expression for single dish spectra.
The spectral data file can be any of the formats supported by
ASAP (scantable, MS, rpfits, and SDFITS). In the expression, 
these file names should be put inside of sigle or double quotes.

You can use variables in the expression. If you want to use, you 
must define varlist dictionary. Name of variables should be simple, 
e.g. V0, V1, etc., to avoid unexpected error. Keys of varlist must 
be name of variables that you used in the expression, and their 
values will be substituted for variables in the expression. Allowed 
type for the value is numerical values, one- or two-dimensional lists 
(Python list or numpy.ndarray), and filename strings that indicate 
spectral data or ASCII text, which is space-separated list of 
numerical values consisting of adequate number of rows and columns.  

The fluxunit, specunit, and frame can be set, otherwise, the current
settings of the first spectral data in the expression are used.  
Other selections (e.g. scan No, . IF, Pol) also apply to all 
the spectral data in the expression, so if any of the data does
not contains selection, the task will produce no output. 
       
WARNING for the GBT raw SDFITS format data as input:
SDtasks are able to handle GBT raw SDFITS format data since the 
data filler is available. However, the functionality is not well 
tested yet, so that there may be unknown bugs.  

Example:
# do on-off/off calculation
expr='("orion_on_data.asap"-"orion_off_data.asap")/"orion_off_data.asap"
outfile='orion_cal.asap'
sdmath()

# do on-off/off calculation using varlist
expr='V0/V1-V2'
varlist['V0']="orion_on_data.asap"
varlist['V1']="orion_off_data.asap"
varlist['V2']=1.0
outfile='orion_cal.asap'
sdmath()

# interpretation of ASCII file value for varlist
If the contents of input ASCII file is shown as, 

   0.5 0.3 0.2
   1.0 0.2 0.9

it is interpreted as a list [[0.5, 0.3, 0.2],[1.0, 0.2, 0.9]]. 

Definition at line 46 of file sdmath_cli.py.

def sdmath_cli.sdmath_cli_.check_params (   self,
  param = None,
  value = None,
  ipython_globals = None 
)

Definition at line 396 of file sdmath_cli.py.

References rmtables_cli.rmtables_cli_.__globals__, clearstat_cli.clearstat_cli_.__globals__, listfits_cli.listfits_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, listhistory_cli.listhistory_cli_.__globals__, importfitsidi_cli.importfitsidi_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, plotweather_cli.plotweather_cli_.__globals__, importgmrt_cli.importgmrt_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, importfits_cli.importfits_cli_.__globals__, imreframe_cli.imreframe_cli_.__globals__, importuvfits_cli.importuvfits_cli_.__globals__, msview_cli.msview_cli_.__globals__, plotants_cli.plotants_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, sdflagmanager_cli.sdflagmanager_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, listsdm_cli.listsdm_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, sdlist_cli.sdlist_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, imregrid_cli.imregrid_cli_.__globals__, fixplanets_cli.fixplanets_cli_.__globals__, imsubimage_cli.imsubimage_cli_.__globals__, impbcor_cli.impbcor_cli_.__globals__, exportasdm_cli.exportasdm_cli_.__globals__, imcontsub_cli.imcontsub_cli_.__globals__, ft_cli.ft_cli_.__globals__, browsetable_cli.browsetable_cli_.__globals__, feather_cli.feather_cli_.__globals__, msmoments_cli.msmoments_cli_.__globals__, listpartition_cli.listpartition_cli_.__globals__, importvla_cli.importvla_cli_.__globals__, imtrans_cli.imtrans_cli_.__globals__, plotuv_cli.plotuv_cli_.__globals__, predictcomp_cli.predictcomp_cli_.__globals__, imcollapse_cli.imcollapse_cli_.__globals__, listobs_cli.listobs_cli_.__globals__, sdimprocess_cli.sdimprocess_cli_.__globals__, peel_cli.peel_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, immoments_cli.immoments_cli_.__globals__, imval_cli.imval_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, imsmooth_cli.imsmooth_cli_.__globals__, sdcoadd_cli.sdcoadd_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, listvis_cli.listvis_cli_.__globals__, imview_cli.imview_cli_.__globals__, sdmath_cli.sdmath_cli_.__globals__, importasdm_cli.importasdm_cli_.__globals__, plotcal_cli.plotcal_cli_.__globals__, sdgrid_cli.sdgrid_cli_.__globals__, imstat_cli.imstat_cli_.__globals__, accum_cli.accum_cli_.__globals__, imhead_cli.imhead_cli_.__globals__, listcal_cli.listcal_cli_.__globals__, sdimaging_cli.sdimaging_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, sdflag_cli.sdflag_cli_.__globals__, makemask_cli.makemask_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, importevla_cli.importevla_cli_.__globals__, partition_cli.partition_cli_.__globals__, sdfit_cli.sdfit_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, sdcal_cli.sdcal_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, polcal_cli.polcal_cli_.__globals__, immath_cli.immath_cli_.__globals__, mosaic_cli.mosaic_cli_.__globals__, sdbaseline_cli.sdbaseline_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, pclean_cli.pclean_cli_.__globals__, plotxy_cli.plotxy_cli_.__globals__, plotms_cli.plotms_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, and flagdata_cli.flagdata_cli_.__globals__.

def sdmath_cli.sdmath_cli_.defaults (   self,
  param = None,
  ipython_globals = None,
  paramvalue = None,
  subparam = None 
)

Definition at line 330 of file sdmath_cli.py.

References rmtables_cli.rmtables_cli_.__globals__, clearstat_cli.clearstat_cli_.__globals__, listfits_cli.listfits_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, listhistory_cli.listhistory_cli_.__globals__, importfitsidi_cli.importfitsidi_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, plotweather_cli.plotweather_cli_.__globals__, importgmrt_cli.importgmrt_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, importfits_cli.importfits_cli_.__globals__, imreframe_cli.imreframe_cli_.__globals__, importuvfits_cli.importuvfits_cli_.__globals__, msview_cli.msview_cli_.__globals__, plotants_cli.plotants_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, sdflagmanager_cli.sdflagmanager_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, listsdm_cli.listsdm_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, sdlist_cli.sdlist_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, imregrid_cli.imregrid_cli_.__globals__, fixplanets_cli.fixplanets_cli_.__globals__, imsubimage_cli.imsubimage_cli_.__globals__, impbcor_cli.impbcor_cli_.__globals__, exportasdm_cli.exportasdm_cli_.__globals__, imcontsub_cli.imcontsub_cli_.__globals__, ft_cli.ft_cli_.__globals__, browsetable_cli.browsetable_cli_.__globals__, feather_cli.feather_cli_.__globals__, msmoments_cli.msmoments_cli_.__globals__, listpartition_cli.listpartition_cli_.__globals__, importvla_cli.importvla_cli_.__globals__, imtrans_cli.imtrans_cli_.__globals__, plotuv_cli.plotuv_cli_.__globals__, predictcomp_cli.predictcomp_cli_.__globals__, imcollapse_cli.imcollapse_cli_.__globals__, listobs_cli.listobs_cli_.__globals__, sdimprocess_cli.sdimprocess_cli_.__globals__, peel_cli.peel_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, immoments_cli.immoments_cli_.__globals__, imval_cli.imval_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, imsmooth_cli.imsmooth_cli_.__globals__, sdcoadd_cli.sdcoadd_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, listvis_cli.listvis_cli_.__globals__, imview_cli.imview_cli_.__globals__, importasdm_cli.importasdm_cli_.__globals__, sdmath_cli.sdmath_cli_.__globals__, plotcal_cli.plotcal_cli_.__globals__, sdgrid_cli.sdgrid_cli_.__globals__, imstat_cli.imstat_cli_.__globals__, accum_cli.accum_cli_.__globals__, imhead_cli.imhead_cli_.__globals__, listcal_cli.listcal_cli_.__globals__, sdimaging_cli.sdimaging_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, sdflag_cli.sdflag_cli_.__globals__, makemask_cli.makemask_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, importevla_cli.importevla_cli_.__globals__, partition_cli.partition_cli_.__globals__, sdfit_cli.sdfit_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, sdcal_cli.sdcal_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, polcal_cli.polcal_cli_.__globals__, immath_cli.immath_cli_.__globals__, mosaic_cli.mosaic_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, sdbaseline_cli.sdbaseline_cli_.__globals__, pclean_cli.pclean_cli_.__globals__, plotxy_cli.plotxy_cli_.__globals__, plotms_cli.plotms_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, flagdata_cli.flagdata_cli_.__globals__, rmtables_cli.rmtables_cli_.itsdefault(), clearstat_cli.clearstat_cli_.itsdefault(), listfits_cli.listfits_cli_.itsdefault(), listhistory_cli.listhistory_cli_.itsdefault(), clearplot_cli.clearplot_cli_.itsdefault(), find_cli.find_cli_.itsdefault(), asdmsummary_cli.asdmsummary_cli_.itsdefault(), importfitsidi_cli.importfitsidi_cli_.itsdefault(), importgmrt_cli.importgmrt_cli_.itsdefault(), plotweather_cli.plotweather_cli_.itsdefault(), plotants_cli.plotants_cli_.itsdefault(), importuvfits_cli.importuvfits_cli_.itsdefault(), conjugatevis_cli.conjugatevis_cli_.itsdefault(), listsdm_cli.listsdm_cli_.itsdefault(), importfits_cli.importfits_cli_.itsdefault(), hanningsmooth_cli.hanningsmooth_cli_.itsdefault(), imreframe_cli.imreframe_cli_.itsdefault(), caltabconvert_cli.caltabconvert_cli_.itsdefault(), delmod_cli.delmod_cli_.itsdefault(), sdlist_cli.sdlist_cli_.itsdefault(), flagmanager_cli.flagmanager_cli_.itsdefault(), clearcal_cli.clearcal_cli_.itsdefault(), calstat_cli.calstat_cli_.itsdefault(), sdflagmanager_cli.sdflagmanager_cli_.itsdefault(), listpartition_cli.listpartition_cli_.itsdefault(), fixplanets_cli.fixplanets_cli_.itsdefault(), exportfits_cli.exportfits_cli_.itsdefault(), fixvis_cli.fixvis_cli_.itsdefault(), msview_cli.msview_cli_.itsdefault(), boxit_cli.boxit_cli_.itsdefault(), imregrid_cli.imregrid_cli_.itsdefault(), imtrans_cli.imtrans_cli_.itsdefault(), feather_cli.feather_cli_.itsdefault(), browsetable_cli.browsetable_cli_.itsdefault(), imsubimage_cli.imsubimage_cli_.itsdefault(), imcontsub_cli.imcontsub_cli_.itsdefault(), msmoments_cli.msmoments_cli_.itsdefault(), ft_cli.ft_cli_.itsdefault(), exportasdm_cli.exportasdm_cli_.itsdefault(), peel_cli.peel_cli_.itsdefault(), deconvolve_cli.deconvolve_cli_.itsdefault(), impbcor_cli.impbcor_cli_.itsdefault(), plotuv_cli.plotuv_cli_.itsdefault(), importvla_cli.importvla_cli_.itsdefault(), imval_cli.imval_cli_.itsdefault(), imcollapse_cli.imcollapse_cli_.itsdefault(), predictcomp_cli.predictcomp_cli_.itsdefault(), concat_cli.concat_cli_.itsdefault(), sdimprocess_cli.sdimprocess_cli_.itsdefault(), listobs_cli.listobs_cli_.itsdefault(), fluxscale_cli.fluxscale_cli_.itsdefault(), imview_cli.imview_cli_.itsdefault(), exportuvfits_cli.exportuvfits_cli_.itsdefault(), immoments_cli.immoments_cli_.itsdefault(), imsmooth_cli.imsmooth_cli_.itsdefault(), listcal_cli.listcal_cli_.itsdefault(), accum_cli.accum_cli_.itsdefault(), csvclean_cli.csvclean_cli_.itsdefault(), sdcoadd_cli.sdcoadd_cli_.itsdefault(), imhead_cli.imhead_cli_.itsdefault(), imstat_cli.imstat_cli_.itsdefault(), listvis_cli.listvis_cli_.itsdefault(), sdmath_cli.sdmath_cli_.itsdefault(), makemask_cli.makemask_cli_.itsdefault(), plotcal_cli.plotcal_cli_.itsdefault(), sdgrid_cli.sdgrid_cli_.itsdefault(), importasdm_cli.importasdm_cli_.itsdefault(), blcal_cli.blcal_cli_.itsdefault(), sdimaging_cli.sdimaging_cli_.itsdefault(), sdflag_cli.sdflag_cli_.itsdefault(), applycal_cli.applycal_cli_.itsdefault(), importevla_cli.importevla_cli_.itsdefault(), gencal_cli.gencal_cli_.itsdefault(), cvel_cli.cvel_cli_.itsdefault(), partition_cli.partition_cli_.itsdefault(), imfit_cli.imfit_cli_.itsdefault(), immath_cli.immath_cli_.itsdefault(), sdfit_cli.sdfit_cli_.itsdefault(), polcal_cli.polcal_cli_.itsdefault(), bandpass_cli.bandpass_cli_.itsdefault(), sdcal_cli.sdcal_cli_.itsdefault(), gaincal_cli.gaincal_cli_.itsdefault(), sdbaseline_cli.sdbaseline_cli_.itsdefault(), mosaic_cli.mosaic_cli_.itsdefault(), pclean_cli.pclean_cli_.itsdefault(), plotxy_cli.plotxy_cli_.itsdefault(), autoclean_cli.autoclean_cli_.itsdefault(), flagcmd_cli.flagcmd_cli_.itsdefault(), plotms_cli.plotms_cli_.itsdefault(), clean_cli.clean_cli_.itsdefault(), and flagdata_cli.flagdata_cli_.itsdefault().

def sdmath_cli.sdmath_cli_.description (   self,
  key = 'sdmath',
  subkey = None 
)

Definition at line 427 of file sdmath_cli.py.

def sdmath_cli.sdmath_cli_.itsdefault (   self,
  paramname 
)

Definition at line 455 of file sdmath_cli.py.

References accum_cli.accum_cli_.parameters, sdmath_cli.sdmath_cli_.parameters, sdlist_cli.sdlist_cli_.parameters, sdimprocess_cli.sdimprocess_cli_.parameters, sdimaging_cli.sdimaging_cli_.parameters, sdgrid_cli.sdgrid_cli_.parameters, sdflagmanager_cli.sdflagmanager_cli_.parameters, sdflag_cli.sdflag_cli_.parameters, sdfit_cli.sdfit_cli_.parameters, sdcoadd_cli.sdcoadd_cli_.parameters, sdcal_cli.sdcal_cli_.parameters, sdbaseline_cli.sdbaseline_cli_.parameters, rmtables_cli.rmtables_cli_.parameters, applycal_cli.applycal_cli_.parameters, predictcomp_cli.predictcomp_cli_.parameters, polcal_cli.polcal_cli_.parameters, plotxy_cli.plotxy_cli_.parameters, plotweather_cli.plotweather_cli_.parameters, plotuv_cli.plotuv_cli_.parameters, plotms_cli.plotms_cli_.parameters, plotcal_cli.plotcal_cli_.parameters, plotants_cli.plotants_cli_.parameters, peel_cli.peel_cli_.parameters, pclean_cli.pclean_cli_.parameters, partition_cli.partition_cli_.parameters, msview_cli.msview_cli_.parameters, msmoments_cli.msmoments_cli_.parameters, mosaic_cli.mosaic_cli_.parameters, makemask_cli.makemask_cli_.parameters, autoclean_cli.autoclean_cli_.parameters, listsdm_cli.listsdm_cli_.parameters, listpartition_cli.listpartition_cli_.parameters, listobs_cli.listobs_cli_.parameters, listhistory_cli.listhistory_cli_.parameters, listfits_cli.listfits_cli_.parameters, listcal_cli.listcal_cli_.parameters, imview_cli.imview_cli_.parameters, imval_cli.imval_cli_.parameters, imtrans_cli.imtrans_cli_.parameters, imsubimage_cli.imsubimage_cli_.parameters, imstat_cli.imstat_cli_.parameters, imsmooth_cli.imsmooth_cli_.parameters, imregrid_cli.imregrid_cli_.parameters, imreframe_cli.imreframe_cli_.parameters, importvla_cli.importvla_cli_.parameters, importuvfits_cli.importuvfits_cli_.parameters, importgmrt_cli.importgmrt_cli_.parameters, importfitsidi_cli.importfitsidi_cli_.parameters, importfits_cli.importfits_cli_.parameters, importevla_cli.importevla_cli_.parameters, importasdm_cli.importasdm_cli_.parameters, impbcor_cli.impbcor_cli_.parameters, immoments_cli.immoments_cli_.parameters, immath_cli.immath_cli_.parameters, imhead_cli.imhead_cli_.parameters, imfit_cli.imfit_cli_.parameters, imcontsub_cli.imcontsub_cli_.parameters, imcollapse_cli.imcollapse_cli_.parameters, hanningsmooth_cli.hanningsmooth_cli_.parameters, gencal_cli.gencal_cli_.parameters, gaincal_cli.gaincal_cli_.parameters, browsetable_cli.browsetable_cli_.parameters, fluxscale_cli.fluxscale_cli_.parameters, flagmanager_cli.flagmanager_cli_.parameters, flagdata_cli.flagdata_cli_.parameters, flagcmd_cli.flagcmd_cli_.parameters, fixvis_cli.fixvis_cli_.parameters, fixplanets_cli.fixplanets_cli_.parameters, find_cli.find_cli_.parameters, feather_cli.feather_cli_.parameters, exportuvfits_cli.exportuvfits_cli_.parameters, exportfits_cli.exportfits_cli_.parameters, exportasdm_cli.exportasdm_cli_.parameters, delmod_cli.delmod_cli_.parameters, deconvolve_cli.deconvolve_cli_.parameters, cvel_cli.cvel_cli_.parameters, csvclean_cli.csvclean_cli_.parameters, conjugatevis_cli.conjugatevis_cli_.parameters, concat_cli.concat_cli_.parameters, clearstat_cli.clearstat_cli_.parameters, clearplot_cli.clearplot_cli_.parameters, clearcal_cli.clearcal_cli_.parameters, clean_cli.clean_cli_.parameters, caltabconvert_cli.caltabconvert_cli_.parameters, calstat_cli.calstat_cli_.parameters, ft_cli.ft_cli_.parameters, boxit_cli.boxit_cli_.parameters, blcal_cli.blcal_cli_.parameters, bandpass_cli.bandpass_cli_.parameters, listvis_cli.listvis_cli_.parameters, asdmsummary_cli.asdmsummary_cli_.parameters, and recipes.almahelpers.SpwInfo.parameters.

Referenced by uvsub_cli.uvsub_cli_.defaults(), uvcontsub2_cli.uvcontsub2_cli_.defaults(), smoothcal_cli.smoothcal_cli_.defaults(), tclean_cli.tclean_cli_.defaults(), splattotable_cli.splattotable_cli_.defaults(), testconcat_cli.testconcat_cli_.defaults(), viewer_cli.viewer_cli_.defaults(), sdscale_cli.sdscale_cli_.defaults(), slsearch_cli.slsearch_cli_.defaults(), wvrgcal_cli.wvrgcal_cli_.defaults(), uvcontsub_cli.uvcontsub_cli_.defaults(), ssoflux_cli.ssoflux_cli_.defaults(), vishead_cli.vishead_cli_.defaults(), uvcontsub3_cli.uvcontsub3_cli_.defaults(), virtualconcat_cli.virtualconcat_cli_.defaults(), sdsmooth_cli.sdsmooth_cli_.defaults(), visstat_cli.visstat_cli_.defaults(), widebandpbcor_cli.widebandpbcor_cli_.defaults(), uvmodelfit_cli.uvmodelfit_cli_.defaults(), sdsave_cli.sdsave_cli_.defaults(), simanalyze_cli.simanalyze_cli_.defaults(), sdmath_cli.sdmath_cli_.defaults(), sdtpimaging_cli.sdtpimaging_cli_.defaults(), sdstat_cli.sdstat_cli_.defaults(), split_cli.split_cli_.defaults(), statwt_cli.statwt_cli_.defaults(), simalma_cli.simalma_cli_.defaults(), simobserve_cli.simobserve_cli_.defaults(), setjy_cli.setjy_cli_.defaults(), widefield_cli.widefield_cli_.defaults(), specfit_cli.specfit_cli_.defaults(), and sdreduce_cli.sdreduce_cli_.defaults().

def sdmath_cli.sdmath_cli_.paramgui (   self,
  useGlobals = True,
  ipython_globals = None 
)
Opens a parameter GUI for this task.  If useGlobals is true, then any relevant global parameter settings are used.

Definition at line 306 of file sdmath_cli.py.

References rmtables_cli.rmtables_cli_.__globals__, clearstat_cli.clearstat_cli_.__globals__, listfits_cli.listfits_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, listhistory_cli.listhistory_cli_.__globals__, importfitsidi_cli.importfitsidi_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, plotweather_cli.plotweather_cli_.__globals__, importgmrt_cli.importgmrt_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, importfits_cli.importfits_cli_.__globals__, imreframe_cli.imreframe_cli_.__globals__, importuvfits_cli.importuvfits_cli_.__globals__, msview_cli.msview_cli_.__globals__, plotants_cli.plotants_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, sdflagmanager_cli.sdflagmanager_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, listsdm_cli.listsdm_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, sdlist_cli.sdlist_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, imregrid_cli.imregrid_cli_.__globals__, fixplanets_cli.fixplanets_cli_.__globals__, imsubimage_cli.imsubimage_cli_.__globals__, impbcor_cli.impbcor_cli_.__globals__, exportasdm_cli.exportasdm_cli_.__globals__, imcontsub_cli.imcontsub_cli_.__globals__, ft_cli.ft_cli_.__globals__, browsetable_cli.browsetable_cli_.__globals__, feather_cli.feather_cli_.__globals__, msmoments_cli.msmoments_cli_.__globals__, listpartition_cli.listpartition_cli_.__globals__, importvla_cli.importvla_cli_.__globals__, imtrans_cli.imtrans_cli_.__globals__, plotuv_cli.plotuv_cli_.__globals__, predictcomp_cli.predictcomp_cli_.__globals__, imcollapse_cli.imcollapse_cli_.__globals__, listobs_cli.listobs_cli_.__globals__, sdimprocess_cli.sdimprocess_cli_.__globals__, peel_cli.peel_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, immoments_cli.immoments_cli_.__globals__, imval_cli.imval_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, imsmooth_cli.imsmooth_cli_.__globals__, sdcoadd_cli.sdcoadd_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, listvis_cli.listvis_cli_.__globals__, imview_cli.imview_cli_.__globals__, sdmath_cli.sdmath_cli_.__globals__, importasdm_cli.importasdm_cli_.__globals__, plotcal_cli.plotcal_cli_.__globals__, sdgrid_cli.sdgrid_cli_.__globals__, imstat_cli.imstat_cli_.__globals__, accum_cli.accum_cli_.__globals__, imhead_cli.imhead_cli_.__globals__, listcal_cli.listcal_cli_.__globals__, sdimaging_cli.sdimaging_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, sdflag_cli.sdflag_cli_.__globals__, makemask_cli.makemask_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, importevla_cli.importevla_cli_.__globals__, partition_cli.partition_cli_.__globals__, sdfit_cli.sdfit_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, sdcal_cli.sdcal_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, polcal_cli.polcal_cli_.__globals__, immath_cli.immath_cli_.__globals__, mosaic_cli.mosaic_cli_.__globals__, sdbaseline_cli.sdbaseline_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, pclean_cli.pclean_cli_.__globals__, plotxy_cli.plotxy_cli_.__globals__, plotms_cli.plotms_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, and flagdata_cli.flagdata_cli_.__globals__.

def sdmath_cli.sdmath_cli_.result (   self,
  key = None 
)

Definition at line 33 of file sdmath_cli.py.

References accum_cli.accum_cli_.__async__, sdmath_cli.sdmath_cli_.__async__, sdlist_cli.sdlist_cli_.__async__, sdimprocess_cli.sdimprocess_cli_.__async__, sdimaging_cli.sdimaging_cli_.__async__, sdgrid_cli.sdgrid_cli_.__async__, sdflagmanager_cli.sdflagmanager_cli_.__async__, sdflag_cli.sdflag_cli_.__async__, sdfit_cli.sdfit_cli_.__async__, sdcoadd_cli.sdcoadd_cli_.__async__, sdcal_cli.sdcal_cli_.__async__, sdbaseline_cli.sdbaseline_cli_.__async__, rmtables_cli.rmtables_cli_.__async__, predictcomp_cli.predictcomp_cli_.__async__, polcal_cli.polcal_cli_.__async__, plotxy_cli.plotxy_cli_.__async__, plotweather_cli.plotweather_cli_.__async__, plotuv_cli.plotuv_cli_.__async__, plotms_cli.plotms_cli_.__async__, plotcal_cli.plotcal_cli_.__async__, plotants_cli.plotants_cli_.__async__, peel_cli.peel_cli_.__async__, pclean_cli.pclean_cli_.__async__, partition_cli.partition_cli_.__async__, msview_cli.msview_cli_.__async__, msmoments_cli.msmoments_cli_.__async__, mosaic_cli.mosaic_cli_.__async__, makemask_cli.makemask_cli_.__async__, listvis_cli.listvis_cli_.__async__, listsdm_cli.listsdm_cli_.__async__, listpartition_cli.listpartition_cli_.__async__, listobs_cli.listobs_cli_.__async__, listhistory_cli.listhistory_cli_.__async__, listfits_cli.listfits_cli_.__async__, listcal_cli.listcal_cli_.__async__, imview_cli.imview_cli_.__async__, imval_cli.imval_cli_.__async__, imtrans_cli.imtrans_cli_.__async__, imsubimage_cli.imsubimage_cli_.__async__, imstat_cli.imstat_cli_.__async__, imsmooth_cli.imsmooth_cli_.__async__, imregrid_cli.imregrid_cli_.__async__, imreframe_cli.imreframe_cli_.__async__, importvla_cli.importvla_cli_.__async__, importuvfits_cli.importuvfits_cli_.__async__, importgmrt_cli.importgmrt_cli_.__async__, importfitsidi_cli.importfitsidi_cli_.__async__, importfits_cli.importfits_cli_.__async__, importevla_cli.importevla_cli_.__async__, importasdm_cli.importasdm_cli_.__async__, impbcor_cli.impbcor_cli_.__async__, immoments_cli.immoments_cli_.__async__, immath_cli.immath_cli_.__async__, imhead_cli.imhead_cli_.__async__, imfit_cli.imfit_cli_.__async__, imcontsub_cli.imcontsub_cli_.__async__, imcollapse_cli.imcollapse_cli_.__async__, hanningsmooth_cli.hanningsmooth_cli_.__async__, gencal_cli.gencal_cli_.__async__, gaincal_cli.gaincal_cli_.__async__, ft_cli.ft_cli_.__async__, fluxscale_cli.fluxscale_cli_.__async__, flagmanager_cli.flagmanager_cli_.__async__, flagdata_cli.flagdata_cli_.__async__, flagcmd_cli.flagcmd_cli_.__async__, fixvis_cli.fixvis_cli_.__async__, fixplanets_cli.fixplanets_cli_.__async__, find_cli.find_cli_.__async__, feather_cli.feather_cli_.__async__, exportuvfits_cli.exportuvfits_cli_.__async__, exportfits_cli.exportfits_cli_.__async__, exportasdm_cli.exportasdm_cli_.__async__, delmod_cli.delmod_cli_.__async__, deconvolve_cli.deconvolve_cli_.__async__, cvel_cli.cvel_cli_.__async__, csvclean_cli.csvclean_cli_.__async__, conjugatevis_cli.conjugatevis_cli_.__async__, concat_cli.concat_cli_.__async__, clearstat_cli.clearstat_cli_.__async__, clearplot_cli.clearplot_cli_.__async__, clearcal_cli.clearcal_cli_.__async__, clean_cli.clean_cli_.__async__, caltabconvert_cli.caltabconvert_cli_.__async__, calstat_cli.calstat_cli_.__async__, browsetable_cli.browsetable_cli_.__async__, boxit_cli.boxit_cli_.__async__, blcal_cli.blcal_cli_.__async__, bandpass_cli.bandpass_cli_.__async__, autoclean_cli.autoclean_cli_.__async__, asdmsummary_cli.asdmsummary_cli_.__async__, and applycal_cli.applycal_cli_.__async__.


Member Data Documentation

dictionary sdmath_cli.sdmath_cli_.__async__ [static, private]

Definition at line 27 of file sdmath_cli.py.

Definition at line 28 of file sdmath_cli.py.

Definition at line 170 of file sdmath_cli.py.

Referenced by uvsub_cli.uvsub_cli_.check_params(), uvcontsub2_cli.uvcontsub2_cli_.check_params(), smoothcal_cli.smoothcal_cli_.check_params(), splattotable_cli.splattotable_cli_.check_params(), tclean_cli.tclean_cli_.check_params(), testconcat_cli.testconcat_cli_.check_params(), viewer_cli.viewer_cli_.check_params(), sdscale_cli.sdscale_cli_.check_params(), uvcontsub_cli.uvcontsub_cli_.check_params(), slsearch_cli.slsearch_cli_.check_params(), ssoflux_cli.ssoflux_cli_.check_params(), vishead_cli.vishead_cli_.check_params(), uvcontsub3_cli.uvcontsub3_cli_.check_params(), wvrgcal_cli.wvrgcal_cli_.check_params(), virtualconcat_cli.virtualconcat_cli_.check_params(), sdsmooth_cli.sdsmooth_cli_.check_params(), visstat_cli.visstat_cli_.check_params(), widebandpbcor_cli.widebandpbcor_cli_.check_params(), uvmodelfit_cli.uvmodelfit_cli_.check_params(), simanalyze_cli.simanalyze_cli_.check_params(), sdsave_cli.sdsave_cli_.check_params(), sdmath_cli.sdmath_cli_.check_params(), sdtpimaging_cli.sdtpimaging_cli_.check_params(), split_cli.split_cli_.check_params(), sdstat_cli.sdstat_cli_.check_params(), statwt_cli.statwt_cli_.check_params(), simalma_cli.simalma_cli_.check_params(), simobserve_cli.simobserve_cli_.check_params(), setjy_cli.setjy_cli_.check_params(), widefield_cli.widefield_cli_.check_params(), specfit_cli.specfit_cli_.check_params(), sdreduce_cli.sdreduce_cli_.check_params(), uvsub_cli.uvsub_cli_.defaults(), uvcontsub2_cli.uvcontsub2_cli_.defaults(), smoothcal_cli.smoothcal_cli_.defaults(), tclean_cli.tclean_cli_.defaults(), splattotable_cli.splattotable_cli_.defaults(), testconcat_cli.testconcat_cli_.defaults(), viewer_cli.viewer_cli_.defaults(), sdscale_cli.sdscale_cli_.defaults(), slsearch_cli.slsearch_cli_.defaults(), uvcontsub_cli.uvcontsub_cli_.defaults(), wvrgcal_cli.wvrgcal_cli_.defaults(), ssoflux_cli.ssoflux_cli_.defaults(), vishead_cli.vishead_cli_.defaults(), uvcontsub3_cli.uvcontsub3_cli_.defaults(), virtualconcat_cli.virtualconcat_cli_.defaults(), sdsmooth_cli.sdsmooth_cli_.defaults(), visstat_cli.visstat_cli_.defaults(), widebandpbcor_cli.widebandpbcor_cli_.defaults(), uvmodelfit_cli.uvmodelfit_cli_.defaults(), sdsave_cli.sdsave_cli_.defaults(), simanalyze_cli.simanalyze_cli_.defaults(), sdmath_cli.sdmath_cli_.defaults(), sdtpimaging_cli.sdtpimaging_cli_.defaults(), sdstat_cli.sdstat_cli_.defaults(), split_cli.split_cli_.defaults(), statwt_cli.statwt_cli_.defaults(), simalma_cli.simalma_cli_.defaults(), simobserve_cli.simobserve_cli_.defaults(), setjy_cli.setjy_cli_.defaults(), widefield_cli.widefield_cli_.defaults(), specfit_cli.specfit_cli_.defaults(), sdreduce_cli.sdreduce_cli_.defaults(), uvsub_cli.uvsub_cli_.paramgui(), uvcontsub2_cli.uvcontsub2_cli_.paramgui(), smoothcal_cli.smoothcal_cli_.paramgui(), tclean_cli.tclean_cli_.paramgui(), splattotable_cli.splattotable_cli_.paramgui(), testconcat_cli.testconcat_cli_.paramgui(), viewer_cli.viewer_cli_.paramgui(), sdscale_cli.sdscale_cli_.paramgui(), slsearch_cli.slsearch_cli_.paramgui(), uvcontsub_cli.uvcontsub_cli_.paramgui(), wvrgcal_cli.wvrgcal_cli_.paramgui(), ssoflux_cli.ssoflux_cli_.paramgui(), vishead_cli.vishead_cli_.paramgui(), uvcontsub3_cli.uvcontsub3_cli_.paramgui(), virtualconcat_cli.virtualconcat_cli_.paramgui(), sdsmooth_cli.sdsmooth_cli_.paramgui(), visstat_cli.visstat_cli_.paramgui(), widebandpbcor_cli.widebandpbcor_cli_.paramgui(), uvmodelfit_cli.uvmodelfit_cli_.paramgui(), sdsave_cli.sdsave_cli_.paramgui(), simanalyze_cli.simanalyze_cli_.paramgui(), sdmath_cli.sdmath_cli_.paramgui(), sdtpimaging_cli.sdtpimaging_cli_.paramgui(), sdstat_cli.sdstat_cli_.paramgui(), split_cli.split_cli_.paramgui(), statwt_cli.statwt_cli_.paramgui(), simalma_cli.simalma_cli_.paramgui(), simobserve_cli.simobserve_cli_.paramgui(), setjy_cli.setjy_cli_.paramgui(), widefield_cli.widefield_cli_.paramgui(), specfit_cli.specfit_cli_.paramgui(), and sdreduce_cli.sdreduce_cli_.paramgui().

string sdmath_cli.sdmath_cli_.__name__ [static, private]

Definition at line 19 of file sdmath_cli.py.

Definition at line 22 of file sdmath_cli.py.

This function sets the default values but also will return the list of parameters or the default value of a given parameter.

Definition at line 375 of file sdmath_cli.py.

Definition at line 388 of file sdmath_cli.py.

Handle globals or user over-ride of arguments.

Definition at line 21 of file sdmath_cli.py.

Definition at line 378 of file sdmath_cli.py.


The documentation for this class was generated from the following file: