threeML / astromodels

Spatial and spectral models for astrophysics
BSD 3-Clause "New" or "Revised" License
44 stars 45 forks source link

Update extracting of XSPEC table models #175

Closed rwiller closed 2 years ago

rwiller commented 2 years ago

Convert XSPEC table models with flux unit photons/cm^2/s to differential flux by dividing by the energy binning. If that is done logarithmic centers will be turned of and information that this happens will be logged.

codecov-commenter commented 2 years ago

Codecov Report

Merging #175 (28784a3) into master (67bbe19) will decrease coverage by 0.02%. The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   80.49%   80.47%   -0.03%     
==========================================
  Files          63       63              
  Lines        7333     7339       +6     
==========================================
+ Hits         5903     5906       +3     
- Misses       1430     1433       +3     
grburgess commented 2 years ago

Thanks @rwiller ! Could you change this to merging on the dev branch?