joshjchayes / TransitFit

Transit light curve fitting using nested sampling
GNU General Public License v3.0
4 stars 1 forks source link

AttributeError when recovering Coefficients and Ratios #1

Closed JStMorgan closed 4 years ago

JStMorgan commented 4 years ago

Hello Josh,

Can confirm the new cache pathing has worked, but have encountered a new AttributeError in _ldtk_handler.py when recovering coefficients and ratios.

File "/mirror/scratch/jmorgan/Anaconda3/lib/python3.7/site-packages/transitfit/_ldtk_handler.py", line 127, in _extract_best_coeffs coeff, err = self.profile_set.coeffs_p2()

AttributeError: 'LDPSet' object has no attribute 'coeffs_p2'

Is this a missing definition?

Many thanks, Jake

joshjchayes commented 4 years ago

Hi Jake, Can you make sure you're using the most up to date version of ldtk, available at https://github.com/hpparvi/ldtk. It is possible that the version installed with pip is not actually the most up to date, so installing it directly from the git clone should work.

joshjchayes commented 4 years ago

I've added an update which will ignore power2 limb darkening if you use the pypi version of ldtk