diff --git a/spectractor/simulation/image_simulation.py b/spectractor/simulation/image_simulation.py index 8e1434ab..db083a54 100644 --- a/spectractor/simulation/image_simulation.py +++ b/spectractor/simulation/image_simulation.py @@ -539,7 +539,7 @@ def ImageSim(image_filename, spectrum_filename, outputdir, pwv=5, ozone=300, aer # Flat model flat = None if with_flat: - my_logger.info('\n\tStar field model...') + my_logger.info('\n\tFlat model...') flat = FlatModel(gains=[[1, 2, 3, 4], [4, 3, 2, 1]], randomness_level=1e-2) if parameters.DEBUG: flat.plot_model() diff --git a/tests/test_fullchain.py b/tests/test_fullchain.py index 2dfdc083..b93dd106 100644 --- a/tests/test_fullchain.py +++ b/tests/test_fullchain.py @@ -222,7 +222,7 @@ def test_ctio_fullchain(): assert np.isclose(shift_y, 0, atol=parameters.PIXSHIFT_PRIOR) # shift_y assert np.isclose(D, spectrum.header["D2CCD_T"], atol=0.1) # D2CCD assert np.isclose(B, 1, atol=1e-3) # B - assert np.isclose(Astar, 1, atol=1e-3) # Astar + assert np.isclose(Astar, 1, atol=1e-2) # Astar assert np.all(np.isclose(psf_poly_params[(PSF_POLY_ORDER + 1):len(PSF_POLY_PARAMS_TRUTH)//N_DIFF_ORDERS - 1], np.array(PSF_POLY_PARAMS_TRUTH)[(PSF_POLY_ORDER + 1):len(PSF_POLY_PARAMS_TRUTH)//N_DIFF_ORDERS - 1], rtol=0.01, atol=0.01))