casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions | Variables
casa_in_py Namespace Reference

Functions

def get_logs
def clear_logs
def mkdir
def mkdir1
def rmdirs
def rmdir
def go
def inp
def update_params
def print_params_col
 function to print inputs with coloring colorparam 'blue'=> non-default, colorcomment 'green'=> can have sub params 'blue' => is a sub-parameter blue = [94m bold = [1m red = [91m cyan = [96m green= [92m normal = [0m underline= [04m reverse = [7m highlight with black = [40s
def __set_default_parameters
def saveinputs
def default
def stop_all
 /home/casa-dev-01/hye/gnuactive/linux_64b/python/2.5 is substitued at build time
def setcwd
def get_host
def delete_scratch

Variables

tuple homedir
list home
dictionary casa
tuple casalog
tuple quanta
tuple measures
tuple imager
tuple synthesisimager
tuple calibrater
tuple ms
tuple tableplot
tuple msplot
tuple calplot
tuple table
tuple flagger
tuple agentflagger
tuple image
tuple imagepol
tuple simulator
tuple componentlist
tuple coordsys
tuple regionmanager
tuple spectralline
tuple utils
tuple deconvolver
tuple vpmanager
tuple vlafillertask
tuple atmosphere
tuple cu
 sdcoadd
 sdscale
 sdtpimaging
 sdlist
 sdfit
 sdbaseline
 sdstat
 sdsave
 sdflag
 sdcal
 sdplot
 sdsmooth
 sdreduce
string nodisplay
tuple stamp
string contrid
tuple thispid
string thelogfile
 true
 CAS-951: matplotlib unresponsive on some 64bit systems.
 T
 false
 F
 ipython

Function Documentation

def casa_in_py.__set_default_parameters (   b) [private]

Definition at line 808 of file casa_in_py.py.

References asap.asapmath.keys.

Definition at line 297 of file casa_in_py.py.

def casa_in_py.default (   taskname = None)
reset given task to its default values :

taskname -- Name of task

Definition at line 925 of file casa_in_py.py.

Referenced by alma_asdm+reimported-asdm_sf.analyseASDM(), fits-import-export_regression.checkimage(), fits-import-export_regression.checkimageb(), listvis_regression.load_ngc4826(), listcal_regression.load_ngc4826(), calstat_test.run(), tests.test_slsearch.run_slsearch(), tests.test_splattotable.run_stttask(), partitionhelper.convertToMMS.runPartition(), tests.test_listfits.listfits_test.setUp(), tests.test_plotants.plotants_test.setUp(), tests.test_caltabconvert.caltabconvert_test.setUp(), tests.test_plotuv.plotuv_test.setUp(), tests.test_exportasdm.exportasdm_test.setUp(), tests.test_hanningsmooth.hanningsmooth_test.setUp(), tests.test_clearstat.clearstat_test.setUp(), tests.test_fixplanets.fixplanets_test1.setUp(), tests.test_fixvis.fixvis_test1.setUp(), tests.test_visstat.visstat_test.setUp(), tests.test_smoothcal.smoothcal_test.setUp(), tests.test_csvclean.csvclean_test1.setUp(), tests.test_sdlist.sdlist_test.setUp(), tests.test_sdflag.sdflag_test.setUp(), tests.test_sdflagmanager.sdflagmanager_test.setUp(), tests.test_clean.clean_test1.setUp(), tests.test_sdreduce.sdreduce_test.setUp(), tests.test_sdfit.sdfit_test.setUp(), tests.test_listvis.listvis_test1.setUp(), tests.test_cvel.cvel_test.setUp(), tests.test_wvrgcal.setUp(), tests.test_testconcat.test_testconcat.setUp(), tests.test_conjugatevis.test_conjugatevis.setUp(), tests.test_concat.test_concat.setUp(), tests.test_virtualconcat.test_virtualconcat.setUp(), tests.test_sdsmooth.sdsmooth_badinputs.setUp(), tests.test_importfitsidi.test_importfitsidi.setUp(), tests.test_vishead.vishead_test.setUp(), tests.test_sdgrid.sdgrid_failure_case.setUp(), tests.test_sdimaging.sdimaging_test0.setUp(), tests.test_sdcoadd.sdcoadd_basicTest.setUp(), tests.test_simobserve.simobserve_sky.setUp(), tests.test_sdsmooth.sdsmooth_basicTest.setUp(), tests.test_sdplot.sdplot_errorTest.setUp(), tests.test_sdgrid.sdgrid_single_integ.setUp(), tests.test_sdbaseline.sdbaseline_basicTest.setUp(), tests.test_sdstat.sdstat_basicTest.setUp(), tests.test_sdcoadd.sdcoadd_mergeTest.setUp(), tests.test_sdimaging.sdimaging_test1.setUp(), tests.test_sdplot.sdplot_basicTest.setUp(), tests.test_sdgrid.sdgrid_clipping.setUp(), tests.test_sdfit.sdfit_test_exceptions.setUp(), tests.test_sdbaseline.sdbaseline_maskTest.setUp(), tests.test_sdgrid.sdgrid_flagging.setUp(), tests.test_simobserve.simobserve_noise.setUp(), tests.test_sdgrid.sdgrid_weighting.setUp(), tests.test_clean.clean_test2.setUp(), tests.test_clean.clean_multifield_test.setUp(), tests.test_sdstat.sdstat_restfreqTest.setUp(), tests.test_sdimaging.sdimaging_test2.setUp(), tests.test_sdgrid.sdgrid_map.setUp(), tests.test_sdsmooth.sdsmooth_storageTest.setUp(), tests.test_sdsave.sdsave_test7.setUp(), tests.test_sdimaging.sdimaging_test3.setUp(), tests.test_clean.clean_multiterm_multifield_test.setUp(), tests.test_sdgrid.sdgrid_dec_correction.setUp(), tests.test_sdmath.sdmath_storageTest.setUp(), tests.test_sdgrid.sdgrid_grid_center.setUp(), tests.test_sdbaseline.sdbaseline_funcTest.setUp(), tests.test_sdbaseline.sdbaseline_multi_IF_test.setUp(), tests.test_clean.clean_multims_test.setUp(), tests.test_sdstat.sdstat_exceptions.setUp(), tests.test_simobserve.simobserve_badinputs.setUp(), tests.test_sdbaseline.sdbaseline_storageTest.setUp(), tests.test_sdplot.sdplot_storageTest.setUp(), tests.test_sdplot.sdplot_gridTest.setUp(), tests.test_sdplot.sdplot_selectTest.setUp(), tests.test_flagcmd.test_base.setUp_bpass_case(), tests.test_flagcmd.test_base.setUp_data4rflag(), tests.test_flagdata.test_base.setUp_data4tfcrop(), tests.test_flagcmd.test_base.setUp_evla(), tests.test_flagcmd.test_base.setUp_flagdatatest_alma(), tests.test_flagdata.test_base.setUp_flagdatatest_alma(), tests.test_partition.test_base.setUp_fourants(), tests.test_importasdm.test_base.setUp_m51(), tests.test_listpartition.test_base.setUp_MMSdata2(), tests.test_listpartition.test_base.setUp_MMSdata3(), tests.test_flagcmd.test_base.setUp_multi(), tests.test_flagdata.test_base.setUp_multi(), tests.test_bandpass.test_base.setUp_ngc4826(), tests.test_gaincal.test_base.setUp_ngc4826(), tests.test_flagdata.test_base.setUp_ngc5921(), tests.test_flagcmd.test_base.setUp_shadowdata(), tests.test_flagdata.test_base.setUp_shadowdata2(), tests.test_imregrid.imregrid_test.test1(), tests.test_imfit.imfit_test.test_CAS_1233(), tests.test_imfit.imfit_test.test_CAS_2318(), tests.test_imfit.imfit_test.test_CAS_2595(), tests.test_imfit.imfit_test.test_CAS_2633(), tests.test_imfit.imfit_test.test_CAS_2999(), tests.test_imfit.imfit_test.test_fit_using_box(), tests.test_imfit.imfit_test.test_fit_using_estimates(), tests.test_imfit.imfit_test.test_fit_using_full_image(), tests.test_imfit.imfit_test.test_fit_using_range(), tests.test_imfit.imfit_test.test_fix_zero_level(), tests.test_imfit.imfit_test.test_logfile(), tests.test_imfit.imfit_test.test_newestimates(), tests.test_imfit.imfit_test.test_non_zero_channel(), tests.test_imfit.imfit_test.test_nonconvergence(), tests.test_imfit.imfit_test.test_polarization_image(), tests.test_imfit.imfit_test.test_position_errors(), tests.test_imfit.imfit_test.test_residual_and_model(), tests.test_imfit.imfit_test.test_strange_units(), tests.test_imfit.imfit_test.test_xx_fit(), and tests.test_imfit.imfit_test.test_zero_level().

Definition at line 1048 of file casa_in_py.py.

Definition at line 1042 of file casa_in_py.py.

Definition at line 294 of file casa_in_py.py.

def casa_in_py.go (   taskname = None)
Execute taskname: 

Definition at line 352 of file casa_in_py.py.

References parameter_check.parameter_checktype().

def casa_in_py.inp (   taskname = None)

Definition at line 504 of file casa_in_py.py.

References parameter_check.parameter_checktype(), and update_params().

def casa_in_py.mkdir (   p)

Definition at line 303 of file casa_in_py.py.

References mkdir1().

def casa_in_py.mkdir1 (   p)

Definition at line 312 of file casa_in_py.py.

Referenced by mkdir().

def casa_in_py.print_params_col (   param = None,
  value = None,
  comment = '',
  colorparam = None,
  colorcomment = None,
  noerrorval = True 
)

function to print inputs with coloring colorparam 'blue'=> non-default, colorcomment 'green'=> can have sub params 'blue' => is a sub-parameter blue = [94m bold = [1m red = [91m cyan = [96m green= [92m normal = [0m underline= [04m reverse = [7m highlight with black = [40s

Definition at line 713 of file casa_in_py.py.

Referenced by update_params().

def casa_in_py.rmdir (   p)

Definition at line 333 of file casa_in_py.py.

def casa_in_py.rmdirs (   p)

Definition at line 324 of file casa_in_py.py.

def casa_in_py.saveinputs (   taskname = None,
  outfile = '',
  myparams = None 
)
Save current input values to file on disk for a specified task:

taskname -- Name of task
    default: <unset>; example: taskname='bandpass'
    <Options: type tasklist() for the complete list>
outfile -- Output file for the task inputs
    default: taskname.saved; example: outfile=taskname.orion

Definition at line 841 of file casa_in_py.py.

References parameter_check.parameter_checktype().

Referenced by importarchive.importarchive(), pointcal.pointcal(), task_simalma.simalma(), task_simanalyze.simanalyze(), and task_simobserve.simobserve().

def casa_in_py.setcwd (   dir = '.')

Definition at line 1039 of file casa_in_py.py.

/home/casa-dev-01/hye/gnuactive/linux_64b/python/2.5 is substitued at build time

fullpath='/home/casa-dev-01/hye/casapy-casapy-23.1.6826-006-64b/lib64/python2.5' sys.path.insert(2, fullpath) fullpath='/usr/lib64/casapy/23.1.6826-006/lib/python2.5/assignmentFilter.py'

Definition at line 1035 of file casa_in_py.py.

def casa_in_py.update_params (   func,
  printtext = True 
)

Definition at line 548 of file casa_in_py.py.

References accum_pg.defaults(), asap.asapmath.keys, and print_params_col().

Referenced by inp().


Variable Documentation

Definition at line 135 of file casa_in_py.py.

Definition at line 147 of file casa_in_py.py.

Definition at line 128 of file casa_in_py.py.

Definition at line 132 of file casa_in_py.py.

dictionary casa_in_py.casa

Definition at line 29 of file casa_in_py.py.

Definition at line 122 of file casa_in_py.py.

Referenced by task_boxit.boxit().

Definition at line 139 of file casa_in_py.py.

Definition at line 278 of file casa_in_py.py.

Definition at line 140 of file casa_in_py.py.

Definition at line 148 of file casa_in_py.py.

Definition at line 144 of file casa_in_py.py.

Definition at line 988 of file casa_in_py.py.

Definition at line 987 of file casa_in_py.py.

Definition at line 134 of file casa_in_py.py.

Definition at line 26 of file casa_in_py.py.

Definition at line 22 of file casa_in_py.py.

Definition at line 136 of file casa_in_py.py.

Definition at line 137 of file casa_in_py.py.

Definition at line 126 of file casa_in_py.py.

Definition at line 991 of file casa_in_py.py.

Definition at line 125 of file casa_in_py.py.

Definition at line 129 of file casa_in_py.py.

Definition at line 131 of file casa_in_py.py.

Definition at line 272 of file casa_in_py.py.

Definition at line 124 of file casa_in_py.py.

Definition at line 141 of file casa_in_py.py.

Definition at line 254 of file casa_in_py.py.

Definition at line 258 of file casa_in_py.py.

Definition at line 249 of file casa_in_py.py.

Definition at line 253 of file casa_in_py.py.

Definition at line 257 of file casa_in_py.py.

Definition at line 252 of file casa_in_py.py.

Definition at line 259 of file casa_in_py.py.

Definition at line 261 of file casa_in_py.py.

Definition at line 256 of file casa_in_py.py.

Definition at line 250 of file casa_in_py.py.

Definition at line 260 of file casa_in_py.py.

Definition at line 255 of file casa_in_py.py.

Definition at line 251 of file casa_in_py.py.

Definition at line 138 of file casa_in_py.py.

Definition at line 142 of file casa_in_py.py.

Definition at line 277 of file casa_in_py.py.

Definition at line 127 of file casa_in_py.py.

Definition at line 986 of file casa_in_py.py.

Definition at line 133 of file casa_in_py.py.

Definition at line 130 of file casa_in_py.py.

Definition at line 292 of file casa_in_py.py.

Definition at line 287 of file casa_in_py.py.

CAS-951: matplotlib unresponsive on some 64bit systems.

if (platform.architecture()[0]=='64bit'): pl.ioff( ) pl.clf( ) pl.ion( )

Definition at line 985 of file casa_in_py.py.

Definition at line 143 of file casa_in_py.py.

Definition at line 146 of file casa_in_py.py.

Definition at line 145 of file casa_in_py.py.