Commit c44668c6955609291ab078b7354c29df14835af4
1 parent
7caa81b2
Update reference values in Python test
Showing
1 changed file
with
2 additions
and
2 deletions
test/test_python.py
| @@ -228,7 +228,7 @@ if __name__ == '__main__': | @@ -228,7 +228,7 @@ if __name__ == '__main__': | ||
| 228 | 228 | ||
| 229 | # Test diffuse map cube with constant spectrum | 229 | # Test diffuse map cube with constant spectrum |
| 230 | sys.stdout.write("Test diffuse map cube with constant analysis: ") | 230 | sys.stdout.write("Test diffuse map cube with constant analysis: ") |
| 231 | - ref = {'CTABackgroundModel': {'Value': 1.03547}} | 231 | + ref = {'CTABackgroundModel': {'Value': 0.242717}} |
| 232 | err = pipeline_v2(model_name="data/model_background_cube_const.xml", \ | 232 | err = pipeline_v2(model_name="data/model_background_cube_const.xml", \ |
| 233 | ra_sim=84.17263, dec_sim=22.01444, rad_sim=2.0, \ | 233 | ra_sim=84.17263, dec_sim=22.01444, rad_sim=2.0, \ |
| 234 | ra_select=83.80, dec_select=22.20, rad_select=1.0, \ | 234 | ra_select=83.80, dec_select=22.20, rad_select=1.0, \ |
| @@ -242,7 +242,7 @@ if __name__ == '__main__': | @@ -242,7 +242,7 @@ if __name__ == '__main__': | ||
| 242 | 242 | ||
| 243 | # Test diffuse map cube with power law spectrum | 243 | # Test diffuse map cube with power law spectrum |
| 244 | sys.stdout.write("Test diffuse map cube with power law analysis: ") | 244 | sys.stdout.write("Test diffuse map cube with power law analysis: ") |
| 245 | - ref = {'CTABackgroundModel': {'Prefactor': 1.02396, 'Index': -0.00710087}} | 245 | + ref = {'CTABackgroundModel': {'Prefactor': 0.513946, 'Index': -1.22388}} |
| 246 | err = pipeline_v2(model_name="data/model_background_cube.xml", \ | 246 | err = pipeline_v2(model_name="data/model_background_cube.xml", \ |
| 247 | ra_sim=84.17263, dec_sim=22.01444, rad_sim=2.0, \ | 247 | ra_sim=84.17263, dec_sim=22.01444, rad_sim=2.0, \ |
| 248 | ra_select=84.00, dec_select=22.20, rad_select=1.0, \ | 248 | ra_select=84.00, dec_select=22.20, rad_select=1.0, \ |