PyTransit 2.6.7__tar.gz → 2.6.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytransit-2.6.7 → pytransit-2.6.8}/PKG-INFO +1 -1
- {pytransit-2.6.7 → pytransit-2.6.8}/PyTransit.egg-info/PKG-INFO +1 -1
- {pytransit-2.6.7 → pytransit-2.6.8}/pyproject.toml +1 -1
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/__init__.py +3 -1
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/gdmodel.py +3 -3
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ldtkldm.py +1 -2
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/version.py +1 -1
- {pytransit-2.6.7 → pytransit-2.6.8}/LICENSE +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/MANIFEST.in +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/PyTransit.egg-info/SOURCES.txt +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/PyTransit.egg-info/dependency_links.txt +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/PyTransit.egg-info/requires.txt +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/PyTransit.egg-info/top_level.txt +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/README.md +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/contamination.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/data/spectra.h5 +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/data/transmission.nc +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/filter.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/instrument.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/contamination/plotting.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/limb_darkening.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/baselines/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/baselines/legendrebaseline.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/baselines/linearbaseline.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/cntlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/eclipselpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/celeriteloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/clloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/fmcloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/logisticloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/wnloglikelihood.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/logposteriorfunction.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/lpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/mclpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/mptlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/ocllpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/ocltdvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/oclttvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/phasecurvelpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/rvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tdvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/ctesslpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/tessttvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/tgclpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/tgcmplpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tess/tmpclpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tesslpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/tessoclttvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/transitanalysis.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/transitlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/ttvlpf.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/eclipse_model.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/general.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ldmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/general.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/linear.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/nonlinear.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/power_2.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/quadratic.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/quadratic_tri.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/limb_darkening/uniform.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ma_chromosphere.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ma_quadratic.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ma_quadratic_cl.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ma_uniform.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/ma_uniform_cl.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/gdmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/general_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/ldmodels.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/ldtkldm.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/ma_chromosphere_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/ma_quadratic_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/ma_uniform_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/phasecurves.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/qpower2_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/rrmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/spmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/numba/udmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/opencl/ma_quadratic.cl +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/opencl/ma_uniform.cl +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/opencl/orbits.cl +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/opencl/qpower2.cl +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/osmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/qpower2.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/qpower2_cl.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/common.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/ecintersection.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/model.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/model_full.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/model_simple.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/model_trspec.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/opmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/opmodel_full.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/rrmodel.cl +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/rrmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/rrmodel_cl.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/roadrunner/tsmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/transitmodel.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/models/uniform.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/orbits/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/orbits/orbits.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/orbits/orbits_py.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/orbits/taylor_z.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/param/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/param/parameter.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/param/prior.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/param/utilities.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/stars/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/stars/btsettl.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/stars/data/avg_bt_settl.fits +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/stars/data/avg_husser2013.fits +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/stars/husser2013.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/astrometry.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/constants.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/de.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/downsample.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/eclipses.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/io/__init__.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/io/lightcurvedata.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/keplerlc.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/mdwarfs.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/misc.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/mocklc.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/octasphere.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/phasecurves.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/physics.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/rv.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/pytransit/utils/tess.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/requirements.txt +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/setup.cfg +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_contamination.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_ma_quadratic.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_ma_quadratic_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_qpower2_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_uniform_model.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_uniform_model_nb.py +0 -0
- {pytransit-2.6.7 → pytransit-2.6.8}/tests/test_z.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyTransit"
|
|
7
|
-
version = "2.6.
|
|
7
|
+
version = "2.6.8"
|
|
8
8
|
description = 'Fast and painless exoplanet transit light curve modelling.'
|
|
9
9
|
authors=[{name='Hannu Parviainen', email='hpparvi@gmail.com'}]
|
|
10
10
|
classifiers=[
|
|
@@ -81,7 +81,9 @@ with warnings.catch_warnings():
|
|
|
81
81
|
|
|
82
82
|
# LDTk limb darkening for the Swift model
|
|
83
83
|
# ---------------------------------------
|
|
84
|
-
|
|
84
|
+
|
|
85
|
+
from .models.ldtkldm import LDTkLDModel #, LDTkLD
|
|
86
|
+
from .models.ldtkldm import LDTkLD
|
|
85
87
|
|
|
86
88
|
# Log posterior functions
|
|
87
89
|
# -----------------------
|
|
@@ -227,9 +227,9 @@ class GravityDarkenedModel(TransitModel):
|
|
|
227
227
|
|
|
228
228
|
# Plot the info
|
|
229
229
|
# -------------
|
|
230
|
-
ax.text(0.025, 0.95, f"i$_
|
|
231
|
-
ax.text(0.025, 0.90, f"i$_
|
|
232
|
-
ax.text(1 - 0.025, 0.95, fr"
|
|
230
|
+
ax.text(0.025, 0.95, f"i$_\\star$ = {degrees(istar):.1f}$^\\circ$", transform=ax.transAxes)
|
|
231
|
+
ax.text(0.025, 0.90, f"i$_\\mathrm{{p}}$ = {degrees(inc):.1f}$^\\circ$", transform=ax.transAxes)
|
|
232
|
+
ax.text(1 - 0.025, 0.95, fr"$\\alpha$ = {degrees(alpha):.1f}$^\\circ$", transform=ax.transAxes, ha='right')
|
|
233
233
|
ax.text(0.025, 0.05, f"f = {f:.1f}", transform=ax.transAxes)
|
|
234
234
|
|
|
235
235
|
setp(ax, xlim=(-1.1, 1.1), ylim=(-1.1, 1.1), xticks=[], yticks=[])
|
|
@@ -17,9 +17,8 @@
|
|
|
17
17
|
from typing import Tuple, Optional, Union
|
|
18
18
|
from pathlib import Path
|
|
19
19
|
|
|
20
|
+
from numpy import ndarray, linspace, meshgrid, transpose, asarray, newaxis, errstate
|
|
20
21
|
from numba import njit
|
|
21
|
-
from numpy import zeros, interp, pi, ndarray, linspace, meshgrid, transpose, asarray, newaxis, errstate
|
|
22
|
-
from scipy.interpolate import interpn, interpnd, RegularGridInterpolator as RGI
|
|
23
22
|
|
|
24
23
|
from .ldmodel import LDModel
|
|
25
24
|
from .numba.ldtkldm import trilinear_interpolation_set, integrate_profiles_set
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytransit-2.6.7 → pytransit-2.6.8}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|