casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions | Variables
fits-import-export_regression Namespace Reference

Functions

def checkimage
def checkimageb

Variables

string myname
 $Id:$ Test Name: # Regression Test Script for importfits/exportfits #

Rationale for Inclusion: # The proper handling of the FITS standard needs to be verified # using standard input files constructed based on the FITS # standard version 3.0 by Mark Calabretta #

Features tested: # 1) Is the import performed without raising exceptions? # 2) Is the imported image properly handling the WCS? # (i.e.
dictionary mydict
list failed_tests
list passed_tests
list thefitsimage_name
list themaxpos_expect
list themaxposf_expect
tuple passed
tuple myresult0
tuple specsyspresent
tuple myrgn1
tuple myrgn2
tuple myresult1
tuple myresult2
tuple passed1
tuple passed2
dictionary expecta
dictionary expectb
dictionary expectc
dictionary passedx
tuple cond0
tuple coordm
tuple cond1
tuple cond2
tuple cond3

Function Documentation

def fits-import-export_regression.checkimage (   myfitsimage_name,
  maxpos_expect,
  maxposf_expect 
)

Definition at line 70 of file fits-import-export_regression.py.

References make_mmsdata.all, and casa_in_py.default().

def fits-import-export_regression.checkimageb (   myfitsimage_name)

Definition at line 147 of file fits-import-export_regression.py.

References casa_in_py.default().


Variable Documentation

tuple fits-import-export_regression.cond0

Definition at line 333 of file fits-import-export_regression.py.

tuple fits-import-export_regression.cond1

Definition at line 335 of file fits-import-export_regression.py.

tuple fits-import-export_regression.cond2

Definition at line 338 of file fits-import-export_regression.py.

tuple fits-import-export_regression.cond3

Definition at line 339 of file fits-import-export_regression.py.

tuple fits-import-export_regression.coordm

Definition at line 334 of file fits-import-export_regression.py.

dictionary fits-import-export_regression.expecta

Definition at line 307 of file fits-import-export_regression.py.

dictionary fits-import-export_regression.expectb

Definition at line 312 of file fits-import-export_regression.py.

dictionary fits-import-export_regression.expectc

Definition at line 317 of file fits-import-export_regression.py.

list fits-import-export_regression.failed_tests

Definition at line 204 of file fits-import-export_regression.py.

tuple fits-import-export_regression.mydict

Definition at line 35 of file fits-import-export_regression.py.

string fits-import-export_regression.myname

$Id:$ Test Name: # Regression Test Script for importfits/exportfits #

Rationale for Inclusion: # The proper handling of the FITS standard needs to be verified # using standard input files constructed based on the FITS # standard version 3.0 by Mark Calabretta #

Features tested: # 1) Is the import performed without raising exceptions? # 2) Is the imported image properly handling the WCS? # (i.e.

is the RA and DEC of the max. flux properly determined?) # 3) Is the export performed without raising exceptions? # 4) Is the exported file compatible with the original? # 5) Does the bitpix=16 feature work # 6) Is spectral WCS correctly read and written #

Input data: # 28 sample fits files constructed by Mark Calabretta # for all standard projections #

Definition at line 31 of file fits-import-export_regression.py.

tuple fits-import-export_regression.myresult0

Definition at line 239 of file fits-import-export_regression.py.

tuple fits-import-export_regression.myresult1

Definition at line 250 of file fits-import-export_regression.py.

tuple fits-import-export_regression.myresult2

Definition at line 251 of file fits-import-export_regression.py.

tuple fits-import-export_regression.myrgn1

Definition at line 242 of file fits-import-export_regression.py.

tuple fits-import-export_regression.myrgn2

Definition at line 243 of file fits-import-export_regression.py.

list fits-import-export_regression.passed

Definition at line 214 of file fits-import-export_regression.py.

fits-import-export_regression.passed1

Definition at line 292 of file fits-import-export_regression.py.

fits-import-export_regression.passed2

Definition at line 294 of file fits-import-export_regression.py.

list fits-import-export_regression.passed_tests

Definition at line 205 of file fits-import-export_regression.py.

dictionary fits-import-export_regression.passedx

Definition at line 322 of file fits-import-export_regression.py.

tuple fits-import-export_regression.specsyspresent

Definition at line 240 of file fits-import-export_regression.py.

list fits-import-export_regression.thefitsimage_name

Definition at line 209 of file fits-import-export_regression.py.

list fits-import-export_regression.themaxpos_expect

Definition at line 210 of file fits-import-export_regression.py.

list fits-import-export_regression.themaxposf_expect

Definition at line 211 of file fits-import-export_regression.py.