autowisp.tests.fits_test_case module

Class Inheritance Diagram

Inheritance diagram of AutoWISPTestCase, FITSTestCase

Define a class to compare FITS files generated by AutoWISP.

class autowisp.tests.fits_test_case.FITSTestCase(methodName='runTest')[source]

Bases: AutoWISPTestCase

Inheritance diagram of autowisp.tests.fits_test_case.FITSTestCase

Add assert for comparing AutoWISP generated FITS files.

_compare_data(fname1, fname2, fits_components)[source]

Assert that the image/error/mask data (or table data) match.

assert_fits_match(fname1, fname2)[source]

Check that two FITS files have matching headers and data.

assert_fits_tables_match(fname1, fname2)[source]

Check that all table extensions in two FITS files match.