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__ |
Definition at line 18 of file imfit_cli.py.
def imfit_cli.imfit_cli_.__init__ | ( | self | ) |
Definition at line 26 of file imfit_cli.py.
def imfit_cli.imfit_cli_.__call__ | ( | self, | |
imagename = None , |
|||
box = None , |
|||
region = None , |
|||
chans = None , |
|||
stokes = None , |
|||
mask = None , |
|||
includepix = None , |
|||
excludepix = None , |
|||
residual = None , |
|||
model = None , |
|||
estimates = None , |
|||
logfile = None , |
|||
append = None , |
|||
newestimates = None , |
|||
complist = None , |
|||
overwrite = None , |
|||
dooff = None , |
|||
offset = None , |
|||
fixoffset = None , |
|||
stretch = None , |
|||
async = None |
|||
) |
Fit one or more elliptical Gaussian components on an image region(s) PARAMETER SUMMARY imagename Name of the input image box One or more box regions to use for fitting, eg "100, 120, 200, 220, 300, 300, 400, 400" to use two boxes. If both box and region parameters are specified, box is used. region Region of interest. See help par.region for specification options. stokes Stokes parameter to fit. If blank, first polarization plane is used. mask Mask to use. See help par.mask. Default is none. includepix Range of pixel values to include for fitting. Array of two numeric values assumed to have same units as image pixel values. Only one of includepix or excludepix can be specified. excludepix Range of pixel values to exclude for fitting. Array of two numeric values assumed to have same units as image pixel values. Only one of includepix or excludepix can be specified. residual Name of the residual image to write. model Name of the model image to write. estimates Name of file containing initial estimates of component parameters (see below for formatting details). logfile Name of file to write fit results. append If logfile exists, append to it (True) or overwrite it (False). newestimates File to write fit results which can be used as initial estimates for next run. complist Name of output component list table. overwrite Overwrite component list table if it exists? dooff Simultaneously fit a zero-level offset? offset Initial estimate for the zero-level offset. Only used if dooff is True. fixoffset Hold zero-level offset constant during fit? Only used if dooff is True. stretch Stretch the input mask if necessary and possible. Only used if a mask is specified. See help par.stretch. OVERVIEW imfit is used to fit one or more gaussians to sources in an image as well as an optional zero-level offset. Fitting is limited to a single polarization but can be performed over several contiguous spectral channels. If the image has a clean beam, the report will contain both the convolved and the deconvolved fit results. It is a simple wrapper around the ia.fitcomponents() tool method. When dooff is False, the method returns a dictionary with two keys, 'converged' and 'results'. The value of 'converged' is a boolean array which indicates if the fit converged on a channel by channel basis. The value of 'results' is a dictionary representing a component list reflecting the fit results. In the case of a deconvolved image, the sizes and position angles are those of the source convolved with the restoring beam. For convenience, the 'results' dictionary can be read into a compoenent list tool (default tool is named cl) using the fromrecord() method for easier inspection using tool methods, eg cl.fromrecord(res['results']) If dooff is True, in addtion to the specified number of gaussians, a zero-level offset will also be fit. The initial estimate for this offset is specified using the offset parameter. Units are assumed to be the same as the image brightness units.The zero level offset can be held constant during the fit by specifying fixoffset=True. In the case of dooff=True, the returned dictionary contains two additional keys, 'zerooff' and 'zeroofferr', which are both arrays containing the the fitted zero level offset value and its error, respectively, for each channel. Both sets of values are in image brightness units. In cases where the fit did not converge, these values are set to NaN. The region can either be specified by a box(es) or a region (there is no garauntee which will be used if both are specified, so be certain only one is). If specified using the box parameter, multiple boxes can be given using the format box="blcx1, blcy1, trcx1, trcy1, blcx2, blcy2, trcx2, trcy2, ... , blcxN, blcyN, trcxN, trcyN" where N is the number of boxes. In this case, the union of the specified boxes will be used. Ranges of pixel values can be included or excluded from the fit via includepix and excludepix. If specified, the task will write the residual and/or model images for successful fits. If an estimates file is not specified, the task will attempt to estimate initial parameters and fit a single Gaussian. If a multiple Gaussian fit is desired, the user must specify initial estimates via a text file (see below for details). The user has the option of writing the result of the fit to a log file, and has the option of either appending to or overwriting an existing file. The user has the option of writing the (convolved) parameters of a successful fit to a file which can be fed back to imfit as the estimates file for a subsequent run. FITTING OVER MULTIPLE CHANNELS For fitting over multiple channels, the result of the previous successful fit is used as the estimate for the next channel. The number of gaussians fit cannot be varied on a channel by channel basis. Thus the variation of source structure should be reasonably smooth in frequency to produce reliable fit results. MASK SPECIFICATION Mask specification can be done using an LEL expression. For example mask = '"myimage">5' will use only pixels with values greater than 5. INCLUDING AND EXCLUDING PIXELS Pixels can be included or excluded from the fit based on their values using includepix and excludepix. Note that specifying both is not permitted and will result in an error. If specified, both take an array of two numeric values. ESTIMATES Initial estimates of fit parameters may be specified via an estimates text file. Each line of this file should contain a set of parameters for a single gaussian. Optionally, some of these parameters can be fixed during the fit. The format of each line is peak intensity, peak x-pixel value, peak y-pixel value, major axis, minor axis, position angle, fixed The fixed parameter is optional. The peak intensity is assumed to be in the same units as the image pixel values (eg Jy/beam). The peak coordinates are specified by pixel values. The major and minor axes and the position angle are the convolved parameters if the image has been convolved with a clean beam and are specified as quantities. The fixed parameter is optional and is a string. It may contain any combination of the following characters 'f' (peak intensity), 'x' (peak x position), 'y' (peak y position), 'a' (major axis), 'b' (minor axis), 'p' (position angle). In addition, lines in the file starting with a "#" are considered comments. An example of such a file is: # peak intensity must be in map units 120, 150, 110, 23.5arcsec, 18.9arcsec, 120deg 90, 60, 200, 46arcsec, 23arcsec, 140deg, fxp This is a file which specifies that two gaussians are to be simultaneously fit, and for the second gaussian the specified peak intensity, x position, and position angle are to be held fixed during the fit. ERROR ESTIMATES The reported estimated errors are the maxima from two methods. In the first method, errors are calculated according to the description given in AIPS++ Note 224: AIPS++ Least Squares Background available at http://www.astron.nl/casacore/trunk/casacore/doc/notes/224.html . In the second method (Condon et al 1998AJ.115.1693; Richards et al. 1999MNRAS.306..954), the following algorithms are used to compute the various errors. R = rms of residual image P = fitted peak intensity S = P/R (signal to noise) longitude error = (FWHM beam width in longitude direction)/(2*S) latitude error = (FWHM beam width in latitude direction)/(2*S) FWHM of major axis error = (FWHM beam along major axis)/S FWHM of minor axis error = (FWHM beam along minor axis)/S position angle error is calculated via standard error propogation of the FWHM major and minor axes sizes and errors flux error is computed via standard error propogation of the peak intensity and its error and the FWHM major and minor axes sizes and their errors. In the case where the image has no beam, the pixel width is used as the diameter of the resolution element. In the vast majority of (and perhaps all) cases, the errors reported come from the second method. The deconvolved size and position angle errors are computed by taking the maximum of the absolute values of the differences of the best fit deconvolved value of the given parameter and the deconvolved size of the eight possible combinations of (FWHM major axis +/- major axis error), (FWHM minor axis +/- minor axis error), and (position andle +/- position angle error). CAUTIONARY NOTES ON ERRORS imfit makes the following implicit assumptions: 1. The noise associated with the pixels it is given to fit is truly random and gaussian 2. There is no offset (constant (unless one is fit), gradient, or more complex function) in pixel values. 3. The things that are trying to be fit are bona-fide gaussians. If any of these assumptions is not true, the errors reported will in general be lower limits. These assumptions do not hold if for example, there is structure in the noise of the image (eg the residual map produced by deconvolution has structure), the area being fit lies in a negative bowl, in extended emission, or on an image artifact (eg ripple), or the source(s) is nongaussian (eg a disk or more complex function convolved with a gaussian; just because something looks gaussian to the human image analysis system does not necessarily mean it is). In addition, in the case of an image produced from interferometric observations, the errors given are appropriate for good uv plane coverage. They may be a factor of two or more higher for sparse arrays or snapshots. In short, imfit is not a silver bullet for determining parameters in flawed images and reported errors should be interpreted cautiously in the vast majority of all "real life" cases. The closer the source being fit is to fulfilling these assumptions the more realistic reported errors will be. EXAMPLE: Here is how one might fit two gaussians to multiple channels of a cube using the fit from the previous channel as the initial estimate for the next. It also illustrates how one can specify a region in the associated continuum image as the region to use as the fit for the channel. default imfit imagename = "co_cube.im" # specify region using region from continuum region = "continuum.im:source.rgn" chans = "2~20" # only use pixels with positive values in the fit excludepix = [-1e10,0] # estimates file contains initial parameters for two Gaussians in channel 2 estimates = "initial_estimates.txt" logfile = "co_fit.log" # append results to the log file for all the channels append = "True" imfit()
Definition at line 46 of file imfit_cli.py.
def imfit_cli.imfit_cli_.check_params | ( | self, | |
param = None , |
|||
value = None , |
|||
ipython_globals = None |
|||
) |
Definition at line 490 of file imfit_cli.py.
References clearstat_cli.clearstat_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, fixplanets_cli.fixplanets_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__, imcollapse_cli.imcollapse_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, accum_cli.accum_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, and flagdata_cli.flagdata_cli_.__globals__.
def imfit_cli.imfit_cli_.defaults | ( | self, | |
param = None , |
|||
ipython_globals = None , |
|||
paramvalue = None , |
|||
subparam = None |
|||
) |
Definition at line 421 of file imfit_cli.py.
References clearstat_cli.clearstat_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, fixplanets_cli.fixplanets_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__, imcollapse_cli.imcollapse_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, accum_cli.accum_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, flagdata_cli.flagdata_cli_.__globals__, clearstat_cli.clearstat_cli_.itsdefault(), clearplot_cli.clearplot_cli_.itsdefault(), find_cli.find_cli_.itsdefault(), asdmsummary_cli.asdmsummary_cli_.itsdefault(), conjugatevis_cli.conjugatevis_cli_.itsdefault(), hanningsmooth_cli.hanningsmooth_cli_.itsdefault(), caltabconvert_cli.caltabconvert_cli_.itsdefault(), delmod_cli.delmod_cli_.itsdefault(), flagmanager_cli.flagmanager_cli_.itsdefault(), clearcal_cli.clearcal_cli_.itsdefault(), calstat_cli.calstat_cli_.itsdefault(), fixplanets_cli.fixplanets_cli_.itsdefault(), exportfits_cli.exportfits_cli_.itsdefault(), fixvis_cli.fixvis_cli_.itsdefault(), boxit_cli.boxit_cli_.itsdefault(), feather_cli.feather_cli_.itsdefault(), browsetable_cli.browsetable_cli_.itsdefault(), imcontsub_cli.imcontsub_cli_.itsdefault(), ft_cli.ft_cli_.itsdefault(), exportasdm_cli.exportasdm_cli_.itsdefault(), deconvolve_cli.deconvolve_cli_.itsdefault(), imcollapse_cli.imcollapse_cli_.itsdefault(), concat_cli.concat_cli_.itsdefault(), fluxscale_cli.fluxscale_cli_.itsdefault(), exportuvfits_cli.exportuvfits_cli_.itsdefault(), accum_cli.accum_cli_.itsdefault(), csvclean_cli.csvclean_cli_.itsdefault(), blcal_cli.blcal_cli_.itsdefault(), applycal_cli.applycal_cli_.itsdefault(), gencal_cli.gencal_cli_.itsdefault(), cvel_cli.cvel_cli_.itsdefault(), imfit_cli.imfit_cli_.itsdefault(), bandpass_cli.bandpass_cli_.itsdefault(), gaincal_cli.gaincal_cli_.itsdefault(), autoclean_cli.autoclean_cli_.itsdefault(), flagcmd_cli.flagcmd_cli_.itsdefault(), clean_cli.clean_cli_.itsdefault(), and flagdata_cli.flagdata_cli_.itsdefault().
def imfit_cli.imfit_cli_.description | ( | self, | |
key = 'imfit' , |
|||
subkey = None |
|||
) |
Definition at line 521 of file imfit_cli.py.
def imfit_cli.imfit_cli_.itsdefault | ( | self, | |
paramname | |||
) |
Definition at line 554 of file imfit_cli.py.
References accum_cli.accum_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, ft_cli.ft_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, browsetable_cli.browsetable_cli_.parameters, boxit_cli.boxit_cli_.parameters, blcal_cli.blcal_cli_.parameters, bandpass_cli.bandpass_cli_.parameters, autoclean_cli.autoclean_cli_.parameters, asdmsummary_cli.asdmsummary_cli_.parameters, and applycal_cli.applycal_cli_.parameters.
Referenced by rmtables_cli.rmtables_cli_.defaults(), listfits_cli.listfits_cli_.defaults(), listhistory_cli.listhistory_cli_.defaults(), importfitsidi_cli.importfitsidi_cli_.defaults(), uvsub_cli.uvsub_cli_.defaults(), uvcontsub2_cli.uvcontsub2_cli_.defaults(), importgmrt_cli.importgmrt_cli_.defaults(), plotweather_cli.plotweather_cli_.defaults(), importuvfits_cli.importuvfits_cli_.defaults(), imreframe_cli.imreframe_cli_.defaults(), plotants_cli.plotants_cli_.defaults(), importfits_cli.importfits_cli_.defaults(), smoothcal_cli.smoothcal_cli_.defaults(), listsdm_cli.listsdm_cli_.defaults(), tclean_cli.tclean_cli_.defaults(), splattotable_cli.splattotable_cli_.defaults(), sdflagmanager_cli.sdflagmanager_cli_.defaults(), testconcat_cli.testconcat_cli_.defaults(), sdlist_cli.sdlist_cli_.defaults(), msview_cli.msview_cli_.defaults(), viewer_cli.viewer_cli_.defaults(), imregrid_cli.imregrid_cli_.defaults(), listpartition_cli.listpartition_cli_.defaults(), sdscale_cli.sdscale_cli_.defaults(), imsubimage_cli.imsubimage_cli_.defaults(), msmoments_cli.msmoments_cli_.defaults(), impbcor_cli.impbcor_cli_.defaults(), slsearch_cli.slsearch_cli_.defaults(), peel_cli.peel_cli_.defaults(), predictcomp_cli.predictcomp_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(), sdimprocess_cli.sdimprocess_cli_.defaults(), virtualconcat_cli.virtualconcat_cli_.defaults(), listobs_cli.listobs_cli_.defaults(), sdsmooth_cli.sdsmooth_cli_.defaults(), visstat_cli.visstat_cli_.defaults(), imview_cli.imview_cli_.defaults(), widebandpbcor_cli.widebandpbcor_cli_.defaults(), sdcoadd_cli.sdcoadd_cli_.defaults(), uvmodelfit_cli.uvmodelfit_cli_.defaults(), listvis_cli.listvis_cli_.defaults(), sdsave_cli.sdsave_cli_.defaults(), simanalyze_cli.simanalyze_cli_.defaults(), sdmath_cli.sdmath_cli_.defaults(), imhead_cli.imhead_cli_.defaults(), listcal_cli.listcal_cli_.defaults(), sdgrid_cli.sdgrid_cli_.defaults(), importasdm_cli.importasdm_cli_.defaults(), sdtpimaging_cli.sdtpimaging_cli_.defaults(), sdstat_cli.sdstat_cli_.defaults(), makemask_cli.makemask_cli_.defaults(), split_cli.split_cli_.defaults(), sdimaging_cli.sdimaging_cli_.defaults(), statwt_cli.statwt_cli_.defaults(), sdflag_cli.sdflag_cli_.defaults(), importevla_cli.importevla_cli_.defaults(), partition_cli.partition_cli_.defaults(), simalma_cli.simalma_cli_.defaults(), imfit_cli.imfit_cli_.defaults(), sdfit_cli.sdfit_cli_.defaults(), sdcal_cli.sdcal_cli_.defaults(), simobserve_cli.simobserve_cli_.defaults(), polcal_cli.polcal_cli_.defaults(), sdbaseline_cli.sdbaseline_cli_.defaults(), setjy_cli.setjy_cli_.defaults(), mosaic_cli.mosaic_cli_.defaults(), widefield_cli.widefield_cli_.defaults(), pclean_cli.pclean_cli_.defaults(), plotxy_cli.plotxy_cli_.defaults(), specfit_cli.specfit_cli_.defaults(), plotms_cli.plotms_cli_.defaults(), and sdreduce_cli.sdreduce_cli_.defaults().
def imfit_cli.imfit_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 397 of file imfit_cli.py.
References clearstat_cli.clearstat_cli_.__globals__, clearplot_cli.clearplot_cli_.__globals__, find_cli.find_cli_.__globals__, asdmsummary_cli.asdmsummary_cli_.__globals__, conjugatevis_cli.conjugatevis_cli_.__globals__, flagmanager_cli.flagmanager_cli_.__globals__, delmod_cli.delmod_cli_.__globals__, exportfits_cli.exportfits_cli_.__globals__, caltabconvert_cli.caltabconvert_cli_.__globals__, hanningsmooth_cli.hanningsmooth_cli_.__globals__, boxit_cli.boxit_cli_.__globals__, calstat_cli.calstat_cli_.__globals__, deconvolve_cli.deconvolve_cli_.__globals__, clearcal_cli.clearcal_cli_.__globals__, fixvis_cli.fixvis_cli_.__globals__, fixplanets_cli.fixplanets_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__, imcollapse_cli.imcollapse_cli_.__globals__, exportuvfits_cli.exportuvfits_cli_.__globals__, concat_cli.concat_cli_.__globals__, fluxscale_cli.fluxscale_cli_.__globals__, csvclean_cli.csvclean_cli_.__globals__, accum_cli.accum_cli_.__globals__, blcal_cli.blcal_cli_.__globals__, applycal_cli.applycal_cli_.__globals__, cvel_cli.cvel_cli_.__globals__, imfit_cli.imfit_cli_.__globals__, bandpass_cli.bandpass_cli_.__globals__, gaincal_cli.gaincal_cli_.__globals__, gencal_cli.gencal_cli_.__globals__, autoclean_cli.autoclean_cli_.__globals__, flagcmd_cli.flagcmd_cli_.__globals__, clean_cli.clean_cli_.__globals__, and flagdata_cli.flagdata_cli_.__globals__.
def imfit_cli.imfit_cli_.result | ( | self, | |
key = None |
|||
) |
Definition at line 33 of file imfit_cli.py.
References accum_cli.accum_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__.
dictionary imfit_cli.imfit_cli_.__async__ [static, private] |
Definition at line 20 of file imfit_cli.py.
Referenced by imfit_cli.imfit_cli_.result(), wvrgcal_cli.wvrgcal_cli_.result(), widefield_cli.widefield_cli_.result(), widebandpbcor_cli.widebandpbcor_cli_.result(), visstat_cli.visstat_cli_.result(), vishead_cli.vishead_cli_.result(), virtualconcat_cli.virtualconcat_cli_.result(), viewer_cli.viewer_cli_.result(), uvsub_cli.uvsub_cli_.result(), uvmodelfit_cli.uvmodelfit_cli_.result(), uvcontsub_cli.uvcontsub_cli_.result(), uvcontsub3_cli.uvcontsub3_cli_.result(), uvcontsub2_cli.uvcontsub2_cli_.result(), testconcat_cli.testconcat_cli_.result(), tclean_cli.tclean_cli_.result(), statwt_cli.statwt_cli_.result(), ssoflux_cli.ssoflux_cli_.result(), split_cli.split_cli_.result(), splattotable_cli.splattotable_cli_.result(), specfit_cli.specfit_cli_.result(), smoothcal_cli.smoothcal_cli_.result(), slsearch_cli.slsearch_cli_.result(), simobserve_cli.simobserve_cli_.result(), simanalyze_cli.simanalyze_cli_.result(), simalma_cli.simalma_cli_.result(), setjy_cli.setjy_cli_.result(), sdtpimaging_cli.sdtpimaging_cli_.result(), sdstat_cli.sdstat_cli_.result(), sdsmooth_cli.sdsmooth_cli_.result(), sdscale_cli.sdscale_cli_.result(), sdsave_cli.sdsave_cli_.result(), sdreduce_cli.sdreduce_cli_.result(), sdplot_cli.sdplot_cli_.result(), sdmath_cli.sdmath_cli_.result(), sdlist_cli.sdlist_cli_.result(), sdimprocess_cli.sdimprocess_cli_.result(), sdimaging_cli.sdimaging_cli_.result(), sdgrid_cli.sdgrid_cli_.result(), sdflagmanager_cli.sdflagmanager_cli_.result(), sdflag_cli.sdflag_cli_.result(), sdfit_cli.sdfit_cli_.result(), sdcoadd_cli.sdcoadd_cli_.result(), sdcal_cli.sdcal_cli_.result(), sdbaseline_cli.sdbaseline_cli_.result(), rmtables_cli.rmtables_cli_.result(), predictcomp_cli.predictcomp_cli_.result(), polcal_cli.polcal_cli_.result(), plotxy_cli.plotxy_cli_.result(), plotweather_cli.plotweather_cli_.result(), plotuv_cli.plotuv_cli_.result(), plotms_cli.plotms_cli_.result(), plotcal_cli.plotcal_cli_.result(), plotants_cli.plotants_cli_.result(), peel_cli.peel_cli_.result(), pclean_cli.pclean_cli_.result(), partition_cli.partition_cli_.result(), msview_cli.msview_cli_.result(), msmoments_cli.msmoments_cli_.result(), mosaic_cli.mosaic_cli_.result(), makemask_cli.makemask_cli_.result(), listvis_cli.listvis_cli_.result(), listsdm_cli.listsdm_cli_.result(), listpartition_cli.listpartition_cli_.result(), listobs_cli.listobs_cli_.result(), listhistory_cli.listhistory_cli_.result(), listfits_cli.listfits_cli_.result(), listcal_cli.listcal_cli_.result(), imview_cli.imview_cli_.result(), imval_cli.imval_cli_.result(), imtrans_cli.imtrans_cli_.result(), imsubimage_cli.imsubimage_cli_.result(), imstat_cli.imstat_cli_.result(), imsmooth_cli.imsmooth_cli_.result(), imregrid_cli.imregrid_cli_.result(), imreframe_cli.imreframe_cli_.result(), importvla_cli.importvla_cli_.result(), importuvfits_cli.importuvfits_cli_.result(), importgmrt_cli.importgmrt_cli_.result(), importfitsidi_cli.importfitsidi_cli_.result(), importfits_cli.importfits_cli_.result(), importevla_cli.importevla_cli_.result(), importasdm_cli.importasdm_cli_.result(), impbcor_cli.impbcor_cli_.result(), immoments_cli.immoments_cli_.result(), immath_cli.immath_cli_.result(), and imhead_cli.imhead_cli_.result().
imfit_cli.imfit_cli_.__bases__ [private] |
Definition at line 27 of file imfit_cli.py.
imfit_cli.imfit_cli_.__doc__ [private] |
Definition at line 28 of file imfit_cli.py.
imfit_cli.imfit_cli_.__globals__ [private] |
Definition at line 252 of file imfit_cli.py.
Referenced by rmtables_cli.rmtables_cli_.check_params(), listfits_cli.listfits_cli_.check_params(), listhistory_cli.listhistory_cli_.check_params(), importfitsidi_cli.importfitsidi_cli_.check_params(), uvsub_cli.uvsub_cli_.check_params(), importgmrt_cli.importgmrt_cli_.check_params(), plotweather_cli.plotweather_cli_.check_params(), uvcontsub2_cli.uvcontsub2_cli_.check_params(), importuvfits_cli.importuvfits_cli_.check_params(), plotants_cli.plotants_cli_.check_params(), listsdm_cli.listsdm_cli_.check_params(), importfits_cli.importfits_cli_.check_params(), imreframe_cli.imreframe_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(), sdflagmanager_cli.sdflagmanager_cli_.check_params(), sdlist_cli.sdlist_cli_.check_params(), msview_cli.msview_cli_.check_params(), listpartition_cli.listpartition_cli_.check_params(), imregrid_cli.imregrid_cli_.check_params(), viewer_cli.viewer_cli_.check_params(), sdscale_cli.sdscale_cli_.check_params(), imsubimage_cli.imsubimage_cli_.check_params(), msmoments_cli.msmoments_cli_.check_params(), impbcor_cli.impbcor_cli_.check_params(), peel_cli.peel_cli_.check_params(), uvcontsub_cli.uvcontsub_cli_.check_params(), slsearch_cli.slsearch_cli_.check_params(), ssoflux_cli.ssoflux_cli_.check_params(), predictcomp_cli.predictcomp_cli_.check_params(), vishead_cli.vishead_cli_.check_params(), uvcontsub3_cli.uvcontsub3_cli_.check_params(), wvrgcal_cli.wvrgcal_cli_.check_params(), sdimprocess_cli.sdimprocess_cli_.check_params(), listobs_cli.listobs_cli_.check_params(), virtualconcat_cli.virtualconcat_cli_.check_params(), sdsmooth_cli.sdsmooth_cli_.check_params(), imview_cli.imview_cli_.check_params(), visstat_cli.visstat_cli_.check_params(), widebandpbcor_cli.widebandpbcor_cli_.check_params(), uvmodelfit_cli.uvmodelfit_cli_.check_params(), sdcoadd_cli.sdcoadd_cli_.check_params(), listvis_cli.listvis_cli_.check_params(), listcal_cli.listcal_cli_.check_params(), simanalyze_cli.simanalyze_cli_.check_params(), imhead_cli.imhead_cli_.check_params(), sdsave_cli.sdsave_cli_.check_params(), sdmath_cli.sdmath_cli_.check_params(), sdgrid_cli.sdgrid_cli_.check_params(), sdtpimaging_cli.sdtpimaging_cli_.check_params(), makemask_cli.makemask_cli_.check_params(), importasdm_cli.importasdm_cli_.check_params(), split_cli.split_cli_.check_params(), sdstat_cli.sdstat_cli_.check_params(), statwt_cli.statwt_cli_.check_params(), sdimaging_cli.sdimaging_cli_.check_params(), sdflag_cli.sdflag_cli_.check_params(), importevla_cli.importevla_cli_.check_params(), partition_cli.partition_cli_.check_params(), simalma_cli.simalma_cli_.check_params(), imfit_cli.imfit_cli_.check_params(), sdfit_cli.sdfit_cli_.check_params(), simobserve_cli.simobserve_cli_.check_params(), polcal_cli.polcal_cli_.check_params(), sdcal_cli.sdcal_cli_.check_params(), setjy_cli.setjy_cli_.check_params(), sdbaseline_cli.sdbaseline_cli_.check_params(), mosaic_cli.mosaic_cli_.check_params(), widefield_cli.widefield_cli_.check_params(), pclean_cli.pclean_cli_.check_params(), plotxy_cli.plotxy_cli_.check_params(), specfit_cli.specfit_cli_.check_params(), sdreduce_cli.sdreduce_cli_.check_params(), plotms_cli.plotms_cli_.check_params(), rmtables_cli.rmtables_cli_.defaults(), listfits_cli.listfits_cli_.defaults(), listhistory_cli.listhistory_cli_.defaults(), importfitsidi_cli.importfitsidi_cli_.defaults(), uvsub_cli.uvsub_cli_.defaults(), importgmrt_cli.importgmrt_cli_.defaults(), uvcontsub2_cli.uvcontsub2_cli_.defaults(), plotweather_cli.plotweather_cli_.defaults(), importuvfits_cli.importuvfits_cli_.defaults(), plotants_cli.plotants_cli_.defaults(), imreframe_cli.imreframe_cli_.defaults(), importfits_cli.importfits_cli_.defaults(), smoothcal_cli.smoothcal_cli_.defaults(), listsdm_cli.listsdm_cli_.defaults(), tclean_cli.tclean_cli_.defaults(), splattotable_cli.splattotable_cli_.defaults(), sdflagmanager_cli.sdflagmanager_cli_.defaults(), testconcat_cli.testconcat_cli_.defaults(), sdlist_cli.sdlist_cli_.defaults(), msview_cli.msview_cli_.defaults(), viewer_cli.viewer_cli_.defaults(), imregrid_cli.imregrid_cli_.defaults(), listpartition_cli.listpartition_cli_.defaults(), sdscale_cli.sdscale_cli_.defaults(), imsubimage_cli.imsubimage_cli_.defaults(), impbcor_cli.impbcor_cli_.defaults(), msmoments_cli.msmoments_cli_.defaults(), slsearch_cli.slsearch_cli_.defaults(), peel_cli.peel_cli_.defaults(), predictcomp_cli.predictcomp_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(), sdimprocess_cli.sdimprocess_cli_.defaults(), virtualconcat_cli.virtualconcat_cli_.defaults(), listobs_cli.listobs_cli_.defaults(), sdsmooth_cli.sdsmooth_cli_.defaults(), visstat_cli.visstat_cli_.defaults(), imview_cli.imview_cli_.defaults(), widebandpbcor_cli.widebandpbcor_cli_.defaults(), sdcoadd_cli.sdcoadd_cli_.defaults(), uvmodelfit_cli.uvmodelfit_cli_.defaults(), listvis_cli.listvis_cli_.defaults(), sdsave_cli.sdsave_cli_.defaults(), simanalyze_cli.simanalyze_cli_.defaults(), sdmath_cli.sdmath_cli_.defaults(), imhead_cli.imhead_cli_.defaults(), listcal_cli.listcal_cli_.defaults(), sdgrid_cli.sdgrid_cli_.defaults(), importasdm_cli.importasdm_cli_.defaults(), sdtpimaging_cli.sdtpimaging_cli_.defaults(), sdstat_cli.sdstat_cli_.defaults(), makemask_cli.makemask_cli_.defaults(), split_cli.split_cli_.defaults(), sdimaging_cli.sdimaging_cli_.defaults(), statwt_cli.statwt_cli_.defaults(), sdflag_cli.sdflag_cli_.defaults(), importevla_cli.importevla_cli_.defaults(), partition_cli.partition_cli_.defaults(), simalma_cli.simalma_cli_.defaults(), imfit_cli.imfit_cli_.defaults(), sdfit_cli.sdfit_cli_.defaults(), sdcal_cli.sdcal_cli_.defaults(), simobserve_cli.simobserve_cli_.defaults(), polcal_cli.polcal_cli_.defaults(), sdbaseline_cli.sdbaseline_cli_.defaults(), setjy_cli.setjy_cli_.defaults(), mosaic_cli.mosaic_cli_.defaults(), widefield_cli.widefield_cli_.defaults(), pclean_cli.pclean_cli_.defaults(), specfit_cli.specfit_cli_.defaults(), sdreduce_cli.sdreduce_cli_.defaults(), rmtables_cli.rmtables_cli_.paramgui(), listfits_cli.listfits_cli_.paramgui(), listhistory_cli.listhistory_cli_.paramgui(), importfitsidi_cli.importfitsidi_cli_.paramgui(), uvsub_cli.uvsub_cli_.paramgui(), uvcontsub2_cli.uvcontsub2_cli_.paramgui(), importgmrt_cli.importgmrt_cli_.paramgui(), plotweather_cli.plotweather_cli_.paramgui(), importuvfits_cli.importuvfits_cli_.paramgui(), imreframe_cli.imreframe_cli_.paramgui(), plotants_cli.plotants_cli_.paramgui(), importfits_cli.importfits_cli_.paramgui(), smoothcal_cli.smoothcal_cli_.paramgui(), listsdm_cli.listsdm_cli_.paramgui(), tclean_cli.tclean_cli_.paramgui(), splattotable_cli.splattotable_cli_.paramgui(), sdflagmanager_cli.sdflagmanager_cli_.paramgui(), testconcat_cli.testconcat_cli_.paramgui(), sdlist_cli.sdlist_cli_.paramgui(), msview_cli.msview_cli_.paramgui(), viewer_cli.viewer_cli_.paramgui(), imregrid_cli.imregrid_cli_.paramgui(), listpartition_cli.listpartition_cli_.paramgui(), sdscale_cli.sdscale_cli_.paramgui(), imsubimage_cli.imsubimage_cli_.paramgui(), impbcor_cli.impbcor_cli_.paramgui(), msmoments_cli.msmoments_cli_.paramgui(), slsearch_cli.slsearch_cli_.paramgui(), peel_cli.peel_cli_.paramgui(), predictcomp_cli.predictcomp_cli_.paramgui(), wvrgcal_cli.wvrgcal_cli_.paramgui(), uvcontsub_cli.uvcontsub_cli_.paramgui(), ssoflux_cli.ssoflux_cli_.paramgui(), vishead_cli.vishead_cli_.paramgui(), uvcontsub3_cli.uvcontsub3_cli_.paramgui(), sdimprocess_cli.sdimprocess_cli_.paramgui(), virtualconcat_cli.virtualconcat_cli_.paramgui(), listobs_cli.listobs_cli_.paramgui(), sdsmooth_cli.sdsmooth_cli_.paramgui(), visstat_cli.visstat_cli_.paramgui(), imview_cli.imview_cli_.paramgui(), widebandpbcor_cli.widebandpbcor_cli_.paramgui(), sdcoadd_cli.sdcoadd_cli_.paramgui(), uvmodelfit_cli.uvmodelfit_cli_.paramgui(), listvis_cli.listvis_cli_.paramgui(), sdsave_cli.sdsave_cli_.paramgui(), simanalyze_cli.simanalyze_cli_.paramgui(), imhead_cli.imhead_cli_.paramgui(), sdmath_cli.sdmath_cli_.paramgui(), listcal_cli.listcal_cli_.paramgui(), sdgrid_cli.sdgrid_cli_.paramgui(), importasdm_cli.importasdm_cli_.paramgui(), sdtpimaging_cli.sdtpimaging_cli_.paramgui(), sdstat_cli.sdstat_cli_.paramgui(), makemask_cli.makemask_cli_.paramgui(), split_cli.split_cli_.paramgui(), sdimaging_cli.sdimaging_cli_.paramgui(), statwt_cli.statwt_cli_.paramgui(), sdflag_cli.sdflag_cli_.paramgui(), importevla_cli.importevla_cli_.paramgui(), partition_cli.partition_cli_.paramgui(), simalma_cli.simalma_cli_.paramgui(), imfit_cli.imfit_cli_.paramgui(), sdfit_cli.sdfit_cli_.paramgui(), sdcal_cli.sdcal_cli_.paramgui(), simobserve_cli.simobserve_cli_.paramgui(), polcal_cli.polcal_cli_.paramgui(), sdbaseline_cli.sdbaseline_cli_.paramgui(), setjy_cli.setjy_cli_.paramgui(), mosaic_cli.mosaic_cli_.paramgui(), widefield_cli.widefield_cli_.paramgui(), pclean_cli.pclean_cli_.paramgui(), specfit_cli.specfit_cli_.paramgui(), and sdreduce_cli.sdreduce_cli_.paramgui().
string imfit_cli.imfit_cli_.__name__ [static, private] |
Definition at line 19 of file imfit_cli.py.
Definition at line 22 of file imfit_cli.py.
Definition at line 30 of file imfit_cli.py.
Referenced by imreframe_cli.imreframe_cli_.itsdefault(), sdflagmanager_cli.sdflagmanager_cli_.itsdefault(), tclean_cli.tclean_cli_.itsdefault(), imregrid_cli.imregrid_cli_.itsdefault(), impbcor_cli.impbcor_cli_.itsdefault(), vishead_cli.vishead_cli_.itsdefault(), predictcomp_cli.predictcomp_cli_.itsdefault(), slsearch_cli.slsearch_cli_.itsdefault(), sdimprocess_cli.sdimprocess_cli_.itsdefault(), wvrgcal_cli.wvrgcal_cli_.itsdefault(), listobs_cli.listobs_cli_.itsdefault(), sdsmooth_cli.sdsmooth_cli_.itsdefault(), widebandpbcor_cli.widebandpbcor_cli_.itsdefault(), visstat_cli.visstat_cli_.itsdefault(), uvmodelfit_cli.uvmodelfit_cli_.itsdefault(), imhead_cli.imhead_cli_.itsdefault(), sdcoadd_cli.sdcoadd_cli_.itsdefault(), listvis_cli.listvis_cli_.itsdefault(), sdsave_cli.sdsave_cli_.itsdefault(), simanalyze_cli.simanalyze_cli_.itsdefault(), sdmath_cli.sdmath_cli_.itsdefault(), makemask_cli.makemask_cli_.itsdefault(), sdgrid_cli.sdgrid_cli_.itsdefault(), sdtpimaging_cli.sdtpimaging_cli_.itsdefault(), importasdm_cli.importasdm_cli_.itsdefault(), split_cli.split_cli_.itsdefault(), sdstat_cli.sdstat_cli_.itsdefault(), statwt_cli.statwt_cli_.itsdefault(), sdimaging_cli.sdimaging_cli_.itsdefault(), sdflag_cli.sdflag_cli_.itsdefault(), importevla_cli.importevla_cli_.itsdefault(), partition_cli.partition_cli_.itsdefault(), simalma_cli.simalma_cli_.itsdefault(), imfit_cli.imfit_cli_.itsdefault(), sdfit_cli.sdfit_cli_.itsdefault(), polcal_cli.polcal_cli_.itsdefault(), sdcal_cli.sdcal_cli_.itsdefault(), simobserve_cli.simobserve_cli_.itsdefault(), setjy_cli.setjy_cli_.itsdefault(), sdbaseline_cli.sdbaseline_cli_.itsdefault(), mosaic_cli.mosaic_cli_.itsdefault(), pclean_cli.pclean_cli_.itsdefault(), widefield_cli.widefield_cli_.itsdefault(), plotxy_cli.plotxy_cli_.itsdefault(), specfit_cli.specfit_cli_.itsdefault(), sdreduce_cli.sdreduce_cli_.itsdefault(), and plotms_cli.plotms_cli_.itsdefault().
tuple imfit_cli.imfit_cli_.retval [static] |
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 469 of file imfit_cli.py.
tuple imfit_cli.imfit_cli_.retval [static] |
Definition at line 482 of file imfit_cli.py.
imfit_cli.imfit_cli_.rkey [static] |
Handle globals or user over-ride of arguments.
Definition at line 21 of file imfit_cli.py.
string imfit_cli.imfit_cli_.valornotval [static] |
Definition at line 472 of file imfit_cli.py.