fermiPy / fermipy-extra

BSD 3-Clause "New" or "Revised" License
8 stars 11 forks source link

General fixes #12

Closed petermarinos closed 3 months ago

petermarinos commented 3 months ago

Fixed tarballs missing the data required to run the following scripts: SMC (excluding lightcurve analysis), gtools_customize, and optimize_model. Improved directory structure to prevent files being overwritten for: IC443, phase_analysis, SMC, gtools_customize, optimize_model, PG1553. Fixed config files pointing to an incorrect diffuse model for: SMC, optimize_model.

The angular_distance_gal() function in the optimize_model script did not convert to radians before using trig functions, and would raise a domain error if the source re-localisation did not result in a minor adjustment to the source positions. Both issues have been fixed.

Fixed minor issues such as broken print statements in most scripts. Added a comment to IC443 that helps the user fix the corrupted file issue in the Extended_archive_v15 directory until a more permanent solution is found.