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

List of all members.

Public Member Functions

def __init__
def changeImage
def getArr
def simple_stats
def min_max
def p_min_max
def done
def model
def amodel
def bmodel
def bmodel_old
def subtract
def findPeaks
def fitPeaks
def show
def ishow
def mshow
def rshow
def save
def ishift
def ima
def mima
def disp
def drill
def cubePeaks
def auto_fitCube2
def auto_fitCube
def fitCube
def fitCube2

Public Attributes

 imTool
 rgTool
 qaTool
 write
 imageName
 iterate
 resultDir
 imDir
 fname
 html
 body1
 body2
 htmlPub
 b
 m
 resid

Static Public Attributes

tuple sigma
string s
int tmax
int tmin
tuple s1
tuple s2
string header
list saveDir
list XY
list fwhm

Private Member Functions

def _retryFit

Detailed Description

Definition at line 14 of file imageTest.py.


Constructor & Destructor Documentation

def imageTest.ImageTest.__init__ (   self,
  imageName,
  write = True,
  resultDir = 'WEBPAGES/imageTest/',
  imDir = 'IMAGES/' 
)

Definition at line 17 of file imageTest.py.


Member Function Documentation

def imageTest.ImageTest._retryFit (   self,
  shp,
  plane,
  residual 
) [private]
def imageTest.ImageTest.amodel (   self,
  v,
  x,
  y 
)

Definition at line 186 of file imageTest.py.

References imageTest.ImageTest.m.

Referenced by imageTest.ImageTest.bmodel_old().

def imageTest.ImageTest.auto_fitCube (   self,
  image,
  verbose = 0 
)

Definition at line 601 of file imageTest.py.

References imageTest.ImageTest.drill(), and imageTest.ImageTest.fitCube2().

def imageTest.ImageTest.auto_fitCube2 (   self,
  verbose = 0 
)

Definition at line 592 of file imageTest.py.

References imageTest.ImageTest.fitCube2().

def imageTest.ImageTest.bmodel (   self,
  XY = None,
  plane = 0 
)
def imageTest.ImageTest.bmodel_old (   self,
  XY = None,
  plane = 0 
)
def imageTest.ImageTest.changeImage (   self,
  imageName 
)

Definition at line 92 of file imageTest.py.

References imageTest.ImageTest.getArr(), and imageTest.ImageTest.imageName.

def imageTest.ImageTest.cubePeaks (   self,
  image,
  x,
  y 
)

Definition at line 540 of file imageTest.py.

References imageTest.ImageTest.write.

def imageTest.ImageTest.disp (   self,
  image,
  plane = None,
  cube = None,
  xlabel = '',
  ylabel = '' 
)

Definition at line 514 of file imageTest.py.

def imageTest.ImageTest.done (   self)
def imageTest.ImageTest.drill (   self,
  image,
  x0,
  y0 
)

Definition at line 531 of file imageTest.py.

Referenced by imageTest.ImageTest.auto_fitCube().

def imageTest.ImageTest.findPeaks (   self,
  y,
  x,
  plane = 0 
)

Definition at line 347 of file imageTest.py.

Referenced by imageTest.ImageTest.fitPeaks().

def imageTest.ImageTest.fitCube (   self,
  image,
  x0,
  y0,
  fit = True 
)

Definition at line 633 of file imageTest.py.

def imageTest.ImageTest.fitCube2 (   self,
  x0,
  y0 
)
def imageTest.ImageTest.fitPeaks (   self,
  XY = None,
  plane = 0 
)

Definition at line 405 of file imageTest.py.

References imageTest.ImageTest.findPeaks().

Referenced by imageTest.ImageTest.bmodel_old().

Definition at line 97 of file imageTest.py.

Referenced by imageTest.ImageTest.changeImage().

def imageTest.ImageTest.ima (   self,
  im1,
  im2 
)

Definition at line 491 of file imageTest.py.

Referenced by imageTest.ImageTest.mima().

def imageTest.ImageTest.ishift (   self,
  image,
  x,
  y,
  plane = None,
  cube = None 
)

Definition at line 461 of file imageTest.py.

Referenced by imageTest.ImageTest.mima().

def imageTest.ImageTest.ishow (   self,
  plane = 0 
)

Definition at line 433 of file imageTest.py.

References imageTest.ImageTest.b.

def imageTest.ImageTest.mima (   self,
  im1,
  im2,
  XY1,
  XY2,
  p1 = None,
  p2 = None,
  c1 = None,
  c2 = None 
)

Definition at line 499 of file imageTest.py.

References imageTest.ImageTest.ima(), and imageTest.ImageTest.ishift().

def imageTest.ImageTest.min_max (   self,
  image 
)

Definition at line 131 of file imageTest.py.

Referenced by imageTest.ImageTest.bmodel(), and imageTest.ImageTest.simple_stats().

def imageTest.ImageTest.model (   self,
  xx = 1024,
  yy = 1024 
)

Definition at line 177 of file imageTest.py.

References nf_regression.append.

Referenced by imageTest.ImageTest.bmodel_old().

def imageTest.ImageTest.mshow (   self)

Definition at line 441 of file imageTest.py.

References imageTest.ImageTest.m.

def imageTest.ImageTest.p_min_max (   self,
  n = 5 
)

Definition at line 141 of file imageTest.py.

References imageTest.ImageTest.b.

def imageTest.ImageTest.rshow (   self)

Definition at line 449 of file imageTest.py.

References imageTest.ImageTest.resid.

def imageTest.ImageTest.save (   self,
  path = 'junk.png' 
)

Definition at line 457 of file imageTest.py.

def imageTest.ImageTest.show (   self,
  image 
)
def imageTest.ImageTest.simple_stats (   self,
  sigma = 10,
  plane = 0 
)
def imageTest.ImageTest.subtract (   self,
  plane = 0 
)

Definition at line 318 of file imageTest.py.

References nf_regression.append, imageTest.ImageTest.b, and imageTest.ImageTest.m.


Member Data Documentation

Definition at line 86 of file imageTest.py.

Referenced by imageTest.ImageTest.fitCube2().

Definition at line 87 of file imageTest.py.

Referenced by imageTest.ImageTest.fitCube2().

list imageTest.ImageTest.fwhm [static]

Definition at line 737 of file imageTest.py.

string imageTest.ImageTest.header [static]

Definition at line 85 of file imageTest.py.

Referenced by visTest.VisTest.done(), and imageTest.ImageTest.done().

Definition at line 88 of file imageTest.py.

Definition at line 20 of file imageTest.py.

Definition at line 67 of file imageTest.py.

Referenced by imageTest.ImageTest.fitCube2().

Definition at line 63 of file imageTest.py.

Definition at line 327 of file imageTest.py.

Referenced by imageTest.ImageTest.rshow().

Definition at line 70 of file imageTest.py.

Definition at line 62 of file imageTest.py.

string imageTest.ImageTest.s [static]

Definition at line 690 of file imageTest.py.

tuple imageTest.ImageTest.s1 [static]

Definition at line 702 of file imageTest.py.

tuple imageTest.ImageTest.s2 [static]

Definition at line 716 of file imageTest.py.

Definition at line 731 of file imageTest.py.

tuple imageTest.ImageTest.sigma [static]

Definition at line 689 of file imageTest.py.

Definition at line 695 of file imageTest.py.

Definition at line 696 of file imageTest.py.

list imageTest.ImageTest.XY [static]

Definition at line 736 of file imageTest.py.


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