PyTransit 2.6.11__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.11 → pytransit-2.6.13}/PKG-INFO +2 -4
- {pytransit-2.6.11 → pytransit-2.6.13}/PyTransit.egg-info/PKG-INFO +2 -4
- {pytransit-2.6.11 → pytransit-2.6.13}/PyTransit.egg-info/requires.txt +0 -2
- {pytransit-2.6.11 → pytransit-2.6.13}/pyproject.toml +1 -1
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/__init__.py +5 -3
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/lpf.py +3 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/ctesslpf.py +0 -1
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/tmpclpf.py +0 -2
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tesslpf.py +1 -1
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/octasphere.py +8 -1
- {pytransit-2.6.11 → pytransit-2.6.13}/requirements.txt +0 -2
- {pytransit-2.6.11 → pytransit-2.6.13}/LICENSE +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/MANIFEST.in +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/PyTransit.egg-info/SOURCES.txt +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/PyTransit.egg-info/dependency_links.txt +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/PyTransit.egg-info/top_level.txt +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/README.md +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/contamination.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/data/spectra.h5 +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/data/transmission.nc +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/filter.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/instrument.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/contamination/plotting.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/limb_darkening.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/baselines/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/baselines/legendrebaseline.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/baselines/linearbaseline.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/cntlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/eclipselpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/celeriteloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/clloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/fmcloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/logisticloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/loglikelihood/wnloglikelihood.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/logposteriorfunction.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/mclpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/mptlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/ocllpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/ocltdvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/oclttvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/phasecurvelpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/rvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tdvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/tessttvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/tgclpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tess/tgcmplpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/tessoclttvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/transitanalysis.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/transitlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/lpf/ttvlpf.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/eclipse_model.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/gdmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/general.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ldmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ldtkldm.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/general.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/linear.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/nonlinear.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/power_2.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/quadratic.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/quadratic_tri.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/limb_darkening/uniform.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ma_chromosphere.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ma_quadratic.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ma_quadratic_cl.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ma_uniform.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/ma_uniform_cl.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/gdmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/general_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/ldmodels.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/ldtkldm.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/ma_chromosphere_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/ma_quadratic_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/ma_uniform_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/phasecurves.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/qpower2_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/rrmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/spmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/numba/udmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/opencl/ma_quadratic.cl +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/opencl/ma_uniform.cl +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/opencl/orbits.cl +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/opencl/qpower2.cl +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/osmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/qpower2.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/qpower2_cl.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/common.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/ecintersection.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/model.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/model_full.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/model_simple.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/model_trspec.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/opmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/opmodel_full.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel.cl +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/rrmodel_cl.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/roadrunner/tsmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/transitmodel.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/models/uniform.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/orbits/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/orbits/orbits.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/orbits/orbits_py.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/orbits/taylor_z.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/param/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/param/parameter.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/param/prior.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/param/utilities.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/stars/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/stars/btsettl.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/stars/data/avg_bt_settl.fits +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/stars/data/avg_husser2013.fits +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/stars/husser2013.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/astrometry.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/constants.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/de.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/downsample.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/eclipses.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/io/__init__.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/io/lightcurvedata.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/keplerlc.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/mdwarfs.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/misc.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/mocklc.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/phasecurves.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/physics.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/rv.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/pytransit/utils/tess.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/setup.cfg +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_contamination.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_ma_quadratic.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_ma_quadratic_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_qpower2_nb.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_uniform_model.py +0 -0
- {pytransit-2.6.11 → pytransit-2.6.13}/tests/test_uniform_model_nb.py +0 -0
- {pytransit-2.6.11 → 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
|
|
@@ -13,7 +13,7 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
13
13
|
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Programming Language :: Python
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: arviz
|
|
@@ -32,11 +32,9 @@ Requires-Dist: setuptools
|
|
|
32
32
|
Requires-Dist: deprecated
|
|
33
33
|
Requires-Dist: seaborn
|
|
34
34
|
Requires-Dist: emcee
|
|
35
|
-
Requires-Dist: ldtk
|
|
36
35
|
Requires-Dist: pyopencl
|
|
37
36
|
Requires-Dist: corner
|
|
38
37
|
Requires-Dist: celerite
|
|
39
|
-
Requires-Dist: pyrr
|
|
40
38
|
Requires-Dist: meepmeep
|
|
41
39
|
|
|
42
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
|
|
@@ -13,7 +13,7 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
13
13
|
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Programming Language :: Python
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: arviz
|
|
@@ -32,11 +32,9 @@ Requires-Dist: setuptools
|
|
|
32
32
|
Requires-Dist: deprecated
|
|
33
33
|
Requires-Dist: seaborn
|
|
34
34
|
Requires-Dist: emcee
|
|
35
|
-
Requires-Dist: ldtk
|
|
36
35
|
Requires-Dist: pyopencl
|
|
37
36
|
Requires-Dist: corner
|
|
38
37
|
Requires-Dist: celerite
|
|
39
|
-
Requires-Dist: pyrr
|
|
40
38
|
Requires-Dist: meepmeep
|
|
41
39
|
|
|
42
40
|
PyTransit
|
|
@@ -41,7 +41,7 @@ Date
|
|
|
41
41
|
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
|
-
__version__ = '2.6.
|
|
44
|
+
__version__ = '2.6.13'
|
|
45
45
|
|
|
46
46
|
# Generic
|
|
47
47
|
# -------
|
|
@@ -74,8 +74,10 @@ from .models.ma_uniform_cl import UniformModelCL
|
|
|
74
74
|
# LDTk limb darkening for the Swift model
|
|
75
75
|
# ---------------------------------------
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
from .models.ldtkldm import LDTkLD
|
|
77
|
+
try:
|
|
78
|
+
from .models.ldtkldm import LDTkLDModel, LDTkLD
|
|
79
|
+
except ImportError:
|
|
80
|
+
pass
|
|
79
81
|
|
|
80
82
|
# Log posterior functions
|
|
81
83
|
# -----------------------
|
|
@@ -536,6 +536,9 @@ class BaseLPF(LogPosteriorFunction):
|
|
|
536
536
|
raise DeprecationWarning(
|
|
537
537
|
'Passing passbands by name has been deprecated, they should be now Filter instances.')
|
|
538
538
|
|
|
539
|
+
if not with_ldtk:
|
|
540
|
+
raise ModuleNotFoundError('Could not import LDTk, cannot add an LDTk prior.')
|
|
541
|
+
|
|
539
542
|
self.ldsc = LDPSetCreator(teff, logg, z, list(passbands))
|
|
540
543
|
self.ldps = self.ldsc.create_profiles(1000)
|
|
541
544
|
self.ldps.resample_linear_z()
|
|
@@ -25,7 +25,6 @@ from typing import Union
|
|
|
25
25
|
from numpy import repeat, inf, where, newaxis, squeeze, atleast_2d, isfinite, concatenate, zeros
|
|
26
26
|
from numpy.random import uniform
|
|
27
27
|
from uncertainties import ufloat, UFloat
|
|
28
|
-
from ldtk import tess
|
|
29
28
|
|
|
30
29
|
from ..tesslpf import TESSLPF
|
|
31
30
|
from ...param import UniformPrior as UP, NormalPrior as NP, PParameter
|
|
@@ -34,9 +34,7 @@ from pytransit import BaseLPF
|
|
|
34
34
|
from pytransit.lpf.tesslpf import TESSLPF, downsample_time
|
|
35
35
|
from pytransit.orbits import as_from_rhop, i_from_ba
|
|
36
36
|
from pytransit.param import UniformPrior as UP, NormalPrior as NP, PParameter, GParameter
|
|
37
|
-
from ldtk import tess
|
|
38
37
|
from pytransit.utils.misc import fold
|
|
39
|
-
from scipy.ndimage import label
|
|
40
38
|
from uncertainties import ufloat, UFloat
|
|
41
39
|
|
|
42
40
|
|
|
@@ -103,7 +103,7 @@ class TESSLPF(BaseLPF):
|
|
|
103
103
|
if with_ldtk:
|
|
104
104
|
super().add_ldtk_prior(teff, logg, z, passbands=(tess,))
|
|
105
105
|
else:
|
|
106
|
-
raise
|
|
106
|
+
raise ModuleNotFoundError('Could not import LDTk, cannot add an LDTk prior.')
|
|
107
107
|
|
|
108
108
|
def plot_individual_transits(self, solution: str = 'de', pv: ndarray = None, ncols: int = 2, n_samples: int = 100,
|
|
109
109
|
xlim: tuple = None, ylim: tuple = None, axs=None, figsize: tuple = None,
|
|
@@ -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
|
{pytransit-2.6.11 → 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
|