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 |
Definition at line 14 of file imageTest.py.
def imageTest.ImageTest.__init__ | ( | self, | |
imageName, | |||
write = True , |
|||
resultDir = 'WEBPAGES/imageTest/' , |
|||
imDir = 'IMAGES/' |
|||
) |
Definition at line 17 of file imageTest.py.
def imageTest.ImageTest._retryFit | ( | self, | |
shp, | |||
plane, | |||
residual | |||
) | [private] |
Definition at line 257 of file imageTest.py.
References asap.asaplotgui.asaplotgui.show(), asap.asaplotgui_gtk.asaplotgui.show(), asap.asaplotgui_qt4.asaplotgui.show(), __casac__.measures.measures.show(), imageTest.ImageTest.show(), asap.asaplotbase.asaplotbase.show(), and __casac__.plotms.plotms.show().
Referenced by imageTest.ImageTest.bmodel().
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 |
|||
) |
Definition at line 190 of file imageTest.py.
References imageTest.ImageTest._retryFit(), imageTest.ImageTest.fname, imageTest.ImageTest.imageName, imageTest.ImageTest.imDir, imageTest.ImageTest.min_max(), asap.asaplotgui.asaplotgui.show(), asap.asaplotgui_gtk.asaplotgui.show(), asap.asaplotgui_qt4.asaplotgui.show(), __casac__.measures.measures.show(), imageTest.ImageTest.show(), asap.asaplotbase.asaplotbase.show(), __casac__.plotms.plotms.show(), and imageTest.ImageTest.write.
def imageTest.ImageTest.bmodel_old | ( | self, | |
XY = None , |
|||
plane = 0 |
|||
) |
Definition at line 271 of file imageTest.py.
References imageTest.ImageTest.amodel(), nf_regression.append, imageTest.ImageTest.fitPeaks(), imageTest.ImageTest.fname, tw_func.gauss3d(), imageTest.ImageTest.imageName, imageTest.ImageTest.imDir, imageTest.ImageTest.m, imageTest.ImageTest.model(), asap.asaplotgui.asaplotgui.show(), asap.asaplotgui_gtk.asaplotgui.show(), asap.asaplotgui_qt4.asaplotgui.show(), __casac__.measures.measures.show(), imageTest.ImageTest.show(), asap.asaplotbase.asaplotbase.show(), __casac__.plotms.plotms.show(), and imageTest.ImageTest.write.
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 | ) |
Definition at line 167 of file imageTest.py.
References imageTest.ImageTest.html, imageTest.ImageTest.imDir, and imageTest.ImageTest.write.
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 | |||
) |
Definition at line 751 of file imageTest.py.
References imageTest.ImageTest.body1, imageTest.ImageTest.body2, imageTest.ImageTest.fname, imageTest.ImageTest.imageName, imageTest.ImageTest.imDir, imageTest.ImageTest.iterate, and imageTest.ImageTest.write.
Referenced by imageTest.ImageTest.auto_fitCube(), and imageTest.ImageTest.auto_fitCube2().
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().
def imageTest.ImageTest.getArr | ( | self | ) |
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 | |||
) |
Definition at line 426 of file imageTest.py.
Referenced by imageTest.ImageTest._retryFit(), imageTest.ImageTest.bmodel(), imageTest.ImageTest.bmodel_old(), and imageTest.ImageTest.simple_stats().
def imageTest.ImageTest.simple_stats | ( | self, | |
sigma = 10 , |
|||
plane = 0 |
|||
) |
Definition at line 102 of file imageTest.py.
References imageTest.ImageTest.b, imageTest.ImageTest.imageName, imageTest.ImageTest.imDir, imageTest.ImageTest.min_max(), asap.asaplotgui.asaplotgui.show(), asap.asaplotgui_gtk.asaplotgui.show(), asap.asaplotgui_qt4.asaplotgui.show(), __casac__.measures.measures.show(), imageTest.ImageTest.show(), asap.asaplotbase.asaplotbase.show(), __casac__.plotms.plotms.show(), and imageTest.ImageTest.write.
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.
Definition at line 99 of file imageTest.py.
Referenced by imageTest.ImageTest.ishow(), imageTest.ImageTest.p_min_max(), imageTest.ImageTest.simple_stats(), and imageTest.ImageTest.subtract().
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().
Definition at line 84 of file imageTest.py.
Referenced by imageTest.ImageTest.bmodel(), imageTest.ImageTest.bmodel_old(), and imageTest.ImageTest.fitCube2().
list imageTest.ImageTest.fwhm [static] |
Definition at line 737 of file imageTest.py.
string imageTest.ImageTest.header [static] |
Definition at line 729 of file imageTest.py.
Referenced by tests.test_sdplot.sdplot_storageTest.testDF(), tests.test_sdplot.sdplot_storageTest.testDT(), tests.test_sdplot.sdplot_gridTest.testgrid01(), tests.test_sdplot.sdplot_gridTest.testgrid02(), tests.test_sdplot.sdplot_gridTest.testgrid03(), tests.test_sdplot.sdplot_gridTest.testgrid04(), tests.test_sdplot.sdplot_gridTest.testgrid05(), tests.test_sdplot.sdplot_gridTest.testgrid06(), tests.test_sdplot.sdplot_gridTest.testgrid07(), tests.test_sdplot.sdplot_gridTest.testgrid08(), tests.test_sdplot.sdplot_gridTest.testgrid09(), tests.test_sdplot.sdplot_gridTest.testgrid10(), tests.test_sdplot.sdplot_gridTest.testgrid11(), tests.test_sdplot.sdplot_gridTest.testgrid12(), tests.test_sdplot.sdplot_gridTest.testgrid13(), tests.test_sdplot.sdplot_gridTest.testgrid14(), tests.test_sdplot.sdplot_storageTest.testMF(), tests.test_sdplot.sdplot_storageTest.testMT(), tests.test_sdplot.sdplot_selectTest.testsel01(), tests.test_sdplot.sdplot_selectTest.testsel02(), tests.test_sdplot.sdplot_selectTest.testsel03(), and tests.test_sdplot.sdplot_selectTest.testsel04().
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 66 of file imageTest.py.
Referenced by imageTest.ImageTest.bmodel(), imageTest.ImageTest.bmodel_old(), imageTest.ImageTest.changeImage(), imageTest.ImageTest.fitCube2(), and imageTest.ImageTest.simple_stats().
Definition at line 76 of file imageTest.py.
Referenced by imageTest.ImageTest.bmodel(), imageTest.ImageTest.bmodel_old(), visTest.VisTest.done(), imageTest.ImageTest.done(), imageTest.ImageTest.fitCube2(), visTest.VisTest.simple_stats(), and imageTest.ImageTest.simple_stats().
Definition at line 20 of file imageTest.py.
Definition at line 67 of file imageTest.py.
Referenced by imageTest.ImageTest.fitCube2().
Definition at line 184 of file imageTest.py.
Referenced by imageTest.ImageTest.amodel(), imageTest.ImageTest.bmodel_old(), imageTest.ImageTest.mshow(), and imageTest.ImageTest.subtract().
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.
list imageTest.ImageTest.saveDir [static] |
Definition at line 731 of file imageTest.py.
tuple imageTest.ImageTest.sigma [static] |
Definition at line 689 of file imageTest.py.
int imageTest.ImageTest.tmax [static] |
Definition at line 695 of file imageTest.py.
int imageTest.ImageTest.tmin [static] |
Definition at line 696 of file imageTest.py.
Definition at line 65 of file imageTest.py.
Referenced by gprof2dot.DotWriter.attr(), gprof2dot.DotWriter.attr_list(), gprof2dot.DotWriter.begin_graph(), imageTest.ImageTest.bmodel(), imageTest.ImageTest.bmodel_old(), imageTest.ImageTest.cubePeaks(), visTest.VisTest.done(), imageTest.ImageTest.done(), gprof2dot.DotWriter.edge(), gprof2dot.DotWriter.end_graph(), imageTest.ImageTest.fitCube2(), gprof2dot.DotWriter.id(), gprof2dot.DotWriter.node(), visTest.VisTest.simple_stats(), and imageTest.ImageTest.simple_stats().
list imageTest.ImageTest.XY [static] |
Definition at line 736 of file imageTest.py.