MNGuenther / allesfitter

allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
60 stars 36 forks source link

Tutorial 02_transits - Exception has occurred: TypeError #41

Closed JosephKarpinski closed 3 years ago

JosephKarpinski commented 3 years ago

Python 3.8.5

Tutorial 02_transits - simulate_data.py line 61

See attached screen print

Screen Shot 2021-10-09 at 4 21 16 PM

below

MNGuenther commented 3 years ago

Thanks @JosephKarpinski! Don't worry about these simulate_data.py codes; they are just for us developers to make the examples. We have since changed the syntax of these functions, so the simulate_data.py codes here are likely all outdated. We could update them in the future, but there is no actual usage for it. If you're indeed interested in using allesfitter to simulate your own data, I can give this a higher priority; just let me know.

MNGuenther commented 3 years ago

I've updated tutorials 1-3 to be up-to-date with the newer syntax; the other tutorials will also be updated in the future. I've also added back the deprecated inject_lc_model function as an interim solution. This will be superseded and replaced by newer modules in the future. I'll close this and merge it into #29.