huntsman.drp.utils.testing

Functions

create_test_bulter_repository(directory[, ...])

Create a butler repository and ingest the testing dataset.

create_test_calib_collection([config])

Make a calib collection out of ready-made master calibs.

create_test_exposure_collection([config, clear])

Ingest real testing images into a ExposureCollection

datetime_to_taiObs(date)

Convert datetime into a panoptes-style date string.

get_refcat_filename(config)

Get the filename of the testing reference catalogue.

get_testdata_fits_filenames([config])

load_test_config()

Load config for the tests themselves.

make_hdu(data, date, cam_name, ...[, ...])

Make a HDU with a minimal header for DRP to function.

Classes

FakeExposureSequence(**kwargs)

The FakeExposureSequence is responsible for generating fake FITS files based on settings in the config.