casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions
tests.test_immoments.immoment_test2 Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def test_moments
 Testing calculation of each type of moment.
def test_pixel_set
 Testing the correctness of the include/exclude pix parameters.
def test_region
 Testing the correctness of the region selection with moment calcs.
def test_mask
 Testing the correctness of mask usage with moment creation.
def test_CAS2943
def test_CAS_4400
def test_CAS4526

Detailed Description

Definition at line 870 of file test_immoments.py.


Member Function Documentation

Definition at line 872 of file test_immoments.py.

Definition at line 883 of file test_immoments.py.

Test the stretch parameter

Definition at line 1125 of file test_immoments.py.

References taskinit.iatool.

Verify CAS-4526 fix

Definition at line 1260 of file test_immoments.py.

References taskinit.iatool.

Verify feature addtion to preconvolve with largest beam when multiple varying beams.

Definition at line 1192 of file test_immoments.py.

References taskinit.iatool, tests.test_immoments.make_gauss2d(), and irc_cs_task_regression.max.

Testing the correctness of mask usage with moment creation.

We've already tested valid input and output to the maks parameter so we do not duplicate this testing here. In this function we are more interested in the correctness of the tests, ie. checking the data produced and also testing simple to complex mask specifications.

Note: http://www.astron.nl/aips++/docs/notes/223/223.html contains the legal syntax for masks

Test mask is set to and all on n1333_both.image: n1333_both.image:nomask - use no mask n1333_both.image:mask0 - only mask defined in the image. n1333_both.image>0.1 - all points >0.1 test_image>0.1 - all points >0.1 i test image.

TODO create orig images to compare the results too.

Immoment: Testing the correctness of mask usage with moment creation

Definition at line 1052 of file test_immoments.py.

Testing calculation of each type of moment.

Notes: Size of input image is 800 x 800 (sky pixels), 1 stokes value, 18 channels.

TODO: moments -1, 2-11

Immoment: Testing calculation of each type of moment

Definition at line 897 of file test_immoments.py.

References taskinit.iatool.

Testing the correctness of the include/exclude pix parameters.

Immoment: Testing the correctness of the include/exclude pix parameters

Definition at line 1009 of file test_immoments.py.

Testing the correctness of the region selection with moment calcs.

Immoment: Testing the correctness of the region selection with moment calcs

Definition at line 1021 of file test_immoments.py.


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