ucl-exoplanets / TauREx3_public

Public release of TauREx3
https://taurex3-public.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Unable to call 'Npoint' temperature profile #14

Open LucaNap opened 3 years ago

LucaNap commented 3 years ago

Hello. I am unable to call the Npoint profile because:

ImportError: cannot import name 'NPoint' from 'taurex.temperature' (D:\Anaconda3\lib\site-packages\taurex\temperature.py)

While for example the Guillot profile is easily callable with

guillot = Guillot2010(T_irr=p_temperature)

ahmed-f-alrefaie commented 3 years ago

Ah yes you're right. I forgot to alias the Npoint profile in taurex.temperature.

You can get around this by importing Npoint using the full path:

from taurex.data.profiles.temperature import Npoint

I'll issue a fix in the next patch