grd349 / PBjam

A repo for our peak baggin code and tips on jam
MIT License
17 stars 6 forks source link

Fixes for issues #220, #122, #55, #245 #246

Closed nielsenmb closed 4 years ago

nielsenmb commented 4 years ago

Major updates: Added bp-rp lookup to star. This is for issue #55 Added proper caching for downloaded fits files. You can now use any identifier that MAST and/or Simbad can recognize, and it should be able to find the fits files in the designated cache directory. This is for issue #122 Added caching for lightkurve.search_lightcurvefile results, this should make rerunning targets faster.

Minor updates: Ascii files can now be comma or white space delimited. I don't think it makes sense to add any more options. This closes issue #220 The smoothing in the plotting.plot_spectrum() function should now be better at smoothing low resolution targets. This closes #245 KDE, asypeakbag and peakbag can now all save the samples in a consistent format using the store_chains argument. This closes issue #234 Fixed an issue with the test functions not cleaning up after themselves. No issue associated with this.

Attempts: Fix for issue #202. setupy.py now reads the pbjam/version.py file to set the version number. Testing locally this seemed to work, but might not on other OS.

nielsenmb commented 4 years ago

This can be merged

grd349 commented 4 years ago

@nielsenmb Merged!