punchbowl.level1.tests.test_vignette#
Attributes#
Functions#
If the time between the data of interest and the calibration file is too great, then a warning is raised. |
|
|
An invalid vignetting file should be provided. Check that an error is raised. |
|
An invalid vignetting file should be provided. Check that an error is raised. |
|
Check that a mismatch between polarization states in the vignetting function and data raises an error. |
|
Check that a mismatch between telescopes in the vignetting function and data raises an error. |
|
An invalid vignetting file should be provided. Check that an error is raised. |
|
A valid vignetting file should be provided. Check that a corrected PUNCHData object is generated. |
Module Contents#
- punchbowl.level1.tests.test_vignette.THIS_DIRECTORY#
- punchbowl.level1.tests.test_vignette.test_check_calibration_time_delta_warning(sample_ndcube) None#
If the time between the data of interest and the calibration file is too great, then a warning is raised.
- punchbowl.level1.tests.test_vignette.test_no_vignetting_file(sample_ndcube) None#
An invalid vignetting file should be provided. Check that an error is raised.
- punchbowl.level1.tests.test_vignette.test_invalid_vignetting_file(sample_ndcube) None#
An invalid vignetting file should be provided. Check that an error is raised.
- punchbowl.level1.tests.test_vignette.test_invalid_polarization_state(sample_ndcube) None#
Check that a mismatch between polarization states in the vignetting function and data raises an error.
- punchbowl.level1.tests.test_vignette.test_invalid_telescope(sample_ndcube) None#
Check that a mismatch between telescopes in the vignetting function and data raises an error.
- punchbowl.level1.tests.test_vignette.test_invalid_data_file(sample_ndcube) None#
An invalid vignetting file should be provided. Check that an error is raised.
- punchbowl.level1.tests.test_vignette.test_vignetting_correction(sample_ndcube) None#
A valid vignetting file should be provided. Check that a corrected PUNCHData object is generated.