PyTransit 2.6.12__tar.gz → 2.6.13__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.12 → pytransit-2.6.13}/PKG-INFO +1 -2
- {pytransit-2.6.12 → pytransit-2.6.13}/PyTransit.egg-info/PKG-INFO +1 -2
- {pytransit-2.6.12 → pytransit-2.6.13}/PyTransit.egg-info/requires.txt +0 -1
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/__init__.py +1 -1
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/octasphere.py +8 -1
- {pytransit-2.6.12 → pytransit-2.6.13}/requirements.txt +0 -1
- {pytransit-2.6.12 → pytransit-2.6.13}/LICENSE +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/MANIFEST.in +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/PyTransit.egg-info/SOURCES.txt +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/PyTransit.egg-info/dependency_links.txt +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/PyTransit.egg-info/top_level.txt +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/README.md +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pyproject.toml +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/contamination.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/data/spectra.h5 +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/data/transmission.nc +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/filter.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/instrument.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/contamination/plotting.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/limb_darkening.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/baselines/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/baselines/legendrebaseline.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/baselines/linearbaseline.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/cntlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/eclipselpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/celeriteloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/clloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/fmcloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/logisticloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/wnloglikelihood.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/logposteriorfunction.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/lpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/mclpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/mptlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/ocllpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/ocltdvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/oclttvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/phasecurvelpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/rvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tdvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/ctesslpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/tessttvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/tgclpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/tgcmplpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tess/tmpclpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tesslpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/tessoclttvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/transitanalysis.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/transitlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/lpf/ttvlpf.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/eclipse_model.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/gdmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/general.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ldmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ldtkldm.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/general.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/linear.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/nonlinear.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/power_2.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/quadratic.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/quadratic_tri.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/limb_darkening/uniform.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ma_chromosphere.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ma_quadratic.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ma_quadratic_cl.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ma_uniform.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/ma_uniform_cl.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/gdmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/general_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/ldmodels.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/ldtkldm.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/ma_chromosphere_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/ma_quadratic_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/ma_uniform_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/phasecurves.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/qpower2_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/rrmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/spmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/numba/udmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/opencl/ma_quadratic.cl +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/opencl/ma_uniform.cl +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/opencl/orbits.cl +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/opencl/qpower2.cl +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/osmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/qpower2.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/qpower2_cl.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/common.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/ecintersection.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/model.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/model_full.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/model_simple.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/model_trspec.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/opmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/opmodel_full.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel.cl +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel_cl.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/roadrunner/tsmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/transitmodel.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/models/uniform.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/orbits/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/orbits/orbits.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/orbits/orbits_py.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/orbits/taylor_z.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/param/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/param/parameter.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/param/prior.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/param/utilities.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/stars/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/stars/btsettl.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/stars/data/avg_bt_settl.fits +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/stars/data/avg_husser2013.fits +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/stars/husser2013.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/astrometry.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/constants.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/de.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/downsample.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/eclipses.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/io/__init__.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/io/lightcurvedata.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/keplerlc.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/mdwarfs.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/misc.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/mocklc.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/phasecurves.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/physics.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/rv.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/pytransit/utils/tess.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/setup.cfg +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_contamination.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_ma_quadratic.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_ma_quadratic_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_qpower2_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_uniform_model.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_uniform_model_nb.py +0 -0
- {pytransit-2.6.12 → pytransit-2.6.13}/tests/test_z.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyTransit
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.13
|
|
4
4
|
Summary: Fast and painless exoplanet transit light curve modelling.
|
|
5
5
|
Author-email: Hannu Parviainen <hpparvi@gmail.com>
|
|
6
6
|
License: GPLv2
|
|
@@ -35,7 +35,6 @@ Requires-Dist: emcee
|
|
|
35
35
|
Requires-Dist: pyopencl
|
|
36
36
|
Requires-Dist: corner
|
|
37
37
|
Requires-Dist: celerite
|
|
38
|
-
Requires-Dist: pyrr
|
|
39
38
|
Requires-Dist: meepmeep
|
|
40
39
|
|
|
41
40
|
PyTransit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyTransit
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.13
|
|
4
4
|
Summary: Fast and painless exoplanet transit light curve modelling.
|
|
5
5
|
Author-email: Hannu Parviainen <hpparvi@gmail.com>
|
|
6
6
|
License: GPLv2
|
|
@@ -35,7 +35,6 @@ Requires-Dist: emcee
|
|
|
35
35
|
Requires-Dist: pyopencl
|
|
36
36
|
Requires-Dist: corner
|
|
37
37
|
Requires-Dist: celerite
|
|
38
|
-
Requires-Dist: pyrr
|
|
39
38
|
Requires-Dist: meepmeep
|
|
40
39
|
|
|
41
40
|
PyTransit
|
|
@@ -21,8 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
from math import sin, cos, acos, pi
|
|
23
23
|
from numpy import empty, array, vstack, cross, dot
|
|
24
|
-
from pyrr import quaternion
|
|
25
24
|
|
|
25
|
+
try:
|
|
26
|
+
from pyrr import quaternion
|
|
27
|
+
with_pyrr = True
|
|
28
|
+
except ImportError:
|
|
29
|
+
with_pyrr = False
|
|
26
30
|
|
|
27
31
|
def octasphere(ndivisions: int):
|
|
28
32
|
"""Creates a unit sphere using octagon subdivision.
|
|
@@ -31,6 +35,9 @@ def octasphere(ndivisions: int):
|
|
|
31
35
|
by Philip Rideout (https://prideout.net/blog/octasphere).
|
|
32
36
|
"""
|
|
33
37
|
|
|
38
|
+
if not with_pyrr:
|
|
39
|
+
raise ModuleNotFoundError("The pyrr package is required for GDModel visualization.")
|
|
40
|
+
|
|
34
41
|
n = 2**ndivisions + 1
|
|
35
42
|
num_verts = n * (n + 1) // 2
|
|
36
43
|
verts = empty((num_verts, 3))
|
|
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.12 → pytransit-2.6.13}/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
|