exoplanet-dev / exoplanet

Fast & scalable MCMC for all your exoplanet needs!
https://docs.exoplanet.codes
MIT License
206 stars 52 forks source link

TypeError in LimbDarkLightCurve #176

Closed danhey closed 3 years ago

danhey commented 3 years ago

Describe the bug Hey all. I've finally gotten around to updating my version of exoplanet and am playing around with a few of the new case studies. I've been running into a strange TypeError: TypeError: Join cannot handle arguments of dimension 0. For joining scalar values, see @stack when calling xo.LimbDarkLightCurve. I am not sure why this is happening -- perhaps from a new version of PyMC3?

To Reproduce This occurs for the case studies presented in "Putting it all together" and "Fitting TESS data". I've uploaded a notebook replicating this issue here, which shows the full error message.

Expected behavior xo.LimbDarkLightCurve should return a light curve.

Your setup (please complete the following information):

dfm commented 3 years ago

This is happening because you're running the case study for v0.5 (the unreleased GitHub version) but using the previous stable version. The syntax for passing limb darkening parameters has changed in the meantime. A few things that I need to do:

danhey commented 3 years ago

Cool, thanks Dan! I can confirm the reverted case studies are working now.

dfm commented 3 years ago

Great - thanks! I'm going to keep working on getting the versioning better with the case studies, but close this for now.