Skip to content

Commit

Permalink
Add AtmosphericRetrieval.run_dynesty (#85)
Browse files Browse the repository at this point in the history
* add inital implementation of gradient P-T profile

* missed a line

* small mistake

* make codefactor happy

* import dTdP function from pRT safely

* Make pymultinest args optional in run_multinest for greater flexibility

* initial additions to read and util to make plotting work

* plot_retrieval dTdP update, address some of Tomas' comments

* run black v24.1.0 app on retrieval.py

* add dlnT/dlnP to plot and util dicts

* fix indentation and raise in pt_plot

* tested all permutations of run_dynesty locally

* add pymultinest equivalent output

* missed a self

* trying to pass MPIPool instead

* trying passing pool but waiting in function

* nvm, go back to pool in if/else

* add dynesty and schwimmbad to requirements.txt

* remove _lnprior/likelihood_dynesty, remove try except imports

* add back imports

* rename _lnlike_func to _lnlike

* ran black on retrieval.py

---------

Co-authored-by: Tomas Stolker <[email protected]>
  • Loading branch information
wbalmer and tomasstolker authored Feb 3, 2024
1 parent 1e7cd67 commit d0a647f
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 82 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
astropy ~= 5.2.0
astroquery ~= 0.4.0
corner ~= 2.2.0
dynesty ~=2.1.0
emcee ~= 3.1.0
exo-k ~= 1.2.0
h5py ~= 3.9.0
Expand All @@ -14,6 +15,7 @@ PyAstronomy ~= 0.19.0
PyMieScatt ~= 1.8.0
pymultinest ~= 2.12.0
requests ~= 2.31.0
schwimmbad ~= 0.3.0
scipy ~= 1.11.0
shapely ~= 2.0.0
spectres ~= 2.2.0
Expand Down
Loading

0 comments on commit d0a647f

Please sign in to comment.