PAHFIT / pahfit

Model Decomposition for Near- to Mid-Infrared Spectroscopy of Astronomical Sources
https://pahfit.readthedocs.io/
18 stars 26 forks source link

Fix pacloc #223

Closed karllark closed 2 years ago

karllark commented 2 years ago

Update to handle the new location of the pack files. Should fix the test failure as well as mean the doc example works again.

Includes a minor update to the plotting of the model spectrum. Model wavelength points made in log space instead of linear space. Better matches wide wavelength ranges and a constant resolution.

codecov-commenter commented 2 years ago

Codecov Report

Merging #223 (2b3410f) into master (71d422a) will increase coverage by 0.18%. The diff coverage is 73.49%.

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
+ Coverage   52.38%   52.56%   +0.18%     
==========================================
  Files           8        9       +1     
  Lines         567      605      +38     
==========================================
+ Hits          297      318      +21     
- Misses        270      287      +17     
Impacted Files Coverage Δ
pahfit/helpers.py 39.63% <34.48%> (-3.70%) :arrow_down:
pahfit/component_models.py 87.27% <75.00%> (-3.12%) :arrow_down:
pahfit/base.py 57.70% <97.72%> (+2.52%) :arrow_up:
pahfit/errors.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7a3370f...2b3410f. Read the comment docs.