casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Classes | Functions | Variables
tests.test_specfit Namespace Reference

Classes

class  specfit_test

Functions

def run_fitprofile
def run_specfit
def suite

Variables

string twogauss
string polyim
string gauss_triplet
string two_lorentzians
string invalid_fits
list solims
string birdie
float nanvalue
tuple datapath

Function Documentation

def tests.test_specfit.run_fitprofile (   imagename,
  box,
  region,
  chans,
  stokes,
  axis,
  mask,
  ngauss,
  poly,
  multifit,
  model = "",
  residual = "",
  amp = "",
  amperr = "",
  center = "",
  centererr = "",
  fwhm = "",
  fwhmerr = "",
  integral = "",
  integralerr = "",
  estimates = "",
  logresults = True,
  pampest = "",
  pcenterest = "",
  pfwhmest = "",
  pfix = "",
  gmncomps = 0,
  gmampcon = "",
  gmcentercon = "",
  gmfwhmcon = "",
  gmampest = [0],
  gmcenterest = [0],
  gmfwhmest = [0],
  gmfix = "",
  logfile = "",
  pfunc = "",
  goodamprange = [0.0],
  goodcenterrange = [0.0],
  goodfwhmrange = [0.0],
  sigma = "",
  outsigma = "" 
)

Definition at line 103 of file test_specfit.py.

References taskinit.iatool, and tests.test_specfit.run_specfit().

def tests.test_specfit.run_specfit (   imagename,
  box,
  region,
  chans,
  stokes,
  axis,
  mask,
  ngauss,
  poly,
  multifit,
  model = "",
  residual = "",
  amp = "",
  amperr = "",
  center = "",
  centererr = "",
  fwhm = "",
  fwhmerr = "",
  integral = "",
  integralerr = "",
  wantreturn = True,
  estimates = "",
  logresults = None,
  pampest = "",
  pcenterest = "",
  pfwhmest = "",
  pfix = "",
  gmncomps = 0,
  gmampcon = "",
  gmcentercon = "",
  gmfwhmcon = "",
  gmampest = [0],
  gmcenterest = [0],
  gmfwhmest = [0],
  gmfix = "",
  logfile = "",
  pfunc = "",
  goodamprange = [0.0],
  goodcenterrange = [0.0],
  goodfwhmrange = [0.0],
  sigma = "",
  outsigma = "" 
)

Definition at line 846 of file test_specfit.py.


Variable Documentation

Definition at line 86 of file test_specfit.py.

Definition at line 90 of file test_specfit.py.

Definition at line 79 of file test_specfit.py.

Definition at line 81 of file test_specfit.py.

Definition at line 88 of file test_specfit.py.

Definition at line 78 of file test_specfit.py.

Definition at line 82 of file test_specfit.py.

Definition at line 80 of file test_specfit.py.

Definition at line 77 of file test_specfit.py.