Skip to content

Problems with njit and with the LDTK model #160

@sylviankahane

Description

@sylviankahane

Hello

I encountered two problems running the tutorial in the section concerned with the limb darkening coeffs.

In the LDmodel at the flux calculation:
flux3 = tm3.evaluate(k=0.026, ldc=[0.588, 0.104], t0=0.0, p=91.69, a=78.42,
i=89.78/180*pi, e=0.21, w=0.0). (I used parameters obtained from a fit to a real lightcurve).
I got:

During : typing of argument at
c:\astrophys\TESS\lightkurve\Lib\site_packages\pytransit\models\numba\ldmodels.py (142)
line 142
def ld_power_2_pm(mu, pv):_

_@njit_
^_

_During: Pass nopython_type_inference
This error may have been caused by the following argument(s):
Cannot determine Numba type of <class 'main.QuadraticModel1'>

In using the LDTK model:
ldm = LDTkLDModel(teff=(5665, 127), logg=(4.43, 0.08), metal=(0.0, 0.1),
pbs=[sdss_i], dataset='visir-lowres')

I got:

PermissionError: "[WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\sylvi\.ldtk\cache_visir-lowres\Z-0.0\lte06000-4.50-0.0.PHOENIX-ACES-AGSS-COND-2011-SpecInt.fits"

I made a restart and tried again, but the problem persisted.

Best Regards
Sylvian Kahane

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions