Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use metadata in remove lightleak (HinodeXRT#288)
* Fix paths to spectral model files in temperature response The path to the model for hybrid abundances and photospheric abundances were switched. * Fix atol in test_temperature_response_coronal.py Made atol scaled to temperature response to provide a more stringent test. * Fix atol in test_temperature_response_hybrid.py Made atol scaled to temperature response to provide a more stringent test. * Fix atol in test_temperature_response_photospheric.py Made atol scaled to temperature response to provide a more stringent test. * Fix atol in test_temperature_response.py Made atol scaled to temperature response to provide a more stringent test. * Fix atol, rtol values in test_temperature_response.py Use atol and rtol values that should lead to passing all tests. * Fix atol, rtol values in test_temperature_response_coronal.py Use atol, rtol values that should lead to passing all tests. * Fix atol, rtol values in test_temperature_response_hybrid.py Use atol, rtol values that should lead to passing all tests. * Fix atol, rtol values in test_temperature_response_photospheric.py Use atol, rtol values that should lead to passing all tests. * Another fix to test_temperature_response_hybrid.py needed to scale atol to max value of temperature response * Another fix to test_temperature_response_coronal.py need to scale atol to the max value of temperature response * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Created new directory, image_correction, and moved xrt_remove_lightleak and xrt_deconvolve to that directory. Also moved associated tests and data * small changes to image_correction/__init__.py * Changed from print statements to logger in temperature_from_filter_ratio. Also added fits keywords HGLN_OBS and HGLT_OBS to returned map metadata. * Update remove_lightleak.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information