timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
120 stars 62 forks source link

difference in mist example #86

Closed Valcin closed 5 years ago

Valcin commented 5 years ago

Hi !

When i try to reproduce the examples of the jupyter notebook, everything is fine for the Dartmouth case but i got different values for mist. For example : mist.radius(1.0, 9.7, 0.0) gives me 1.0428248436213086 instead of 1.0429784536817184 mist.radius([0.8, 1.0, 1.2], 9.7, 0.0) gives me [0.75937224 1.04282484 nan] instead of [ 0.75965718, 1.04297845, 1.96445299] and the length of the dataframe is even different len(g_mist.df) gives me 1325665 instead of 1337872

I tried to install isochrones both with pip and setup.py, i use nose or i downloaded the data manually. I don't know where the problem is coming from.

I'm on linux and i'm using python3.5

Can you please help me, Best, David

Valcin commented 5 years ago

I looked a bit more. When i install the 1.1dev version and open the 1.0 and not 1.1 mist i can reproduce the examples.

David