PyTransit 2.6.15__tar.gz → 2.6.16__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.15 → pytransit-2.6.16}/PKG-INFO +1 -1
- {pytransit-2.6.15 → pytransit-2.6.16}/PyTransit.egg-info/PKG-INFO +1 -1
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/__init__.py +1 -1
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ma_quadratic.py +2 -2
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ma_uniform.py +2 -2
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/qpower2.py +3 -2
- {pytransit-2.6.15 → pytransit-2.6.16}/LICENSE +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/MANIFEST.in +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/PyTransit.egg-info/SOURCES.txt +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/PyTransit.egg-info/dependency_links.txt +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/PyTransit.egg-info/requires.txt +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/PyTransit.egg-info/top_level.txt +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/README.md +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pyproject.toml +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/contamination.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/data/spectra.h5 +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/data/transmission.nc +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/filter.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/instrument.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/contamination/plotting.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/limb_darkening.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/baselines/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/baselines/legendrebaseline.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/baselines/linearbaseline.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/cntlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/eclipselpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/celeriteloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/clloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/fmcloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/logisticloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/loglikelihood/wnloglikelihood.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/logposteriorfunction.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/lpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/mclpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/mptlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/ocllpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/ocltdvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/oclttvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/phasecurvelpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/rvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tdvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/ctesslpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/tessttvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/tgclpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/tgcmplpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tess/tmpclpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tesslpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/tessoclttvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/transitanalysis.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/transitlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/lpf/ttvlpf.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/eclipse_model.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/gdmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/general.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ldmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ldtkldm.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/general.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/linear.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/nonlinear.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/power_2.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/quadratic.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/quadratic_tri.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/limb_darkening/uniform.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ma_chromosphere.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ma_quadratic_cl.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/ma_uniform_cl.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/gdmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/general_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/ldmodels.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/ldtkldm.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/ma_chromosphere_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/ma_quadratic_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/ma_uniform_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/phasecurves.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/qpower2_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/rrmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/spmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/numba/udmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/opencl/ma_quadratic.cl +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/opencl/ma_uniform.cl +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/opencl/orbits.cl +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/opencl/qpower2.cl +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/osmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/qpower2_cl.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/common.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/ecintersection.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/model.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/model_full.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/model_simple.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/model_trspec.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/opmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/opmodel_full.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/rrmodel.cl +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/rrmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/rrmodel_cl.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/roadrunner/tsmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/transitmodel.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/models/uniform.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/orbits/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/orbits/orbits.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/orbits/orbits_py.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/orbits/taylor_z.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/param/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/param/parameter.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/param/prior.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/param/utilities.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/stars/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/stars/btsettl.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/stars/data/avg_bt_settl.fits +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/stars/data/avg_husser2013.fits +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/stars/husser2013.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/astrometry.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/constants.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/de.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/downsample.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/eclipses.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/io/__init__.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/io/lightcurvedata.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/keplerlc.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/mdwarfs.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/misc.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/mocklc.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/octasphere.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/phasecurves.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/physics.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/rv.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/pytransit/utils/tess.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/requirements.txt +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/setup.cfg +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_contamination.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_ma_quadratic.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_ma_quadratic_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_qpower2_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_uniform_model.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_uniform_model_nb.py +0 -0
- {pytransit-2.6.15 → pytransit-2.6.16}/tests/test_z.py +0 -0
|
@@ -127,8 +127,8 @@ class QuadraticModel(TransitModel):
|
|
|
127
127
|
t0 = t0.reshape((t0.size, 1))
|
|
128
128
|
|
|
129
129
|
npv = p.size
|
|
130
|
-
e = zeros(npv) if e is None else e
|
|
131
|
-
w = zeros(npv) if w is None else w
|
|
130
|
+
e = zeros(npv) if e is None else asarray(e)
|
|
131
|
+
w = zeros(npv) if w is None else asarray(w)
|
|
132
132
|
|
|
133
133
|
if ldc.ndim == 3:
|
|
134
134
|
ldc = ldc.reshape([npv, -1])
|
|
@@ -76,8 +76,8 @@ class UniformModel(TransitModel):
|
|
|
76
76
|
# ---------------------------
|
|
77
77
|
else:
|
|
78
78
|
npv = t0.size
|
|
79
|
-
e = zeros(npv) if e is None else e
|
|
80
|
-
w = zeros(npv) if w is None else w
|
|
79
|
+
e = zeros(npv) if e is None else asarray(e)
|
|
80
|
+
w = zeros(npv) if w is None else asarray(w)
|
|
81
81
|
|
|
82
82
|
if k.ndim == 1:
|
|
83
83
|
k = k.reshape((k.size,1))
|
|
@@ -90,12 +90,13 @@ class QPower2Model(TransitModel):
|
|
|
90
90
|
e, w = 0., 0.
|
|
91
91
|
|
|
92
92
|
flux = qpower2_model_s(self.time, k, ldc, t0, p, a, i, e, w, self.lcids, self.pbids, self.nsamples, self.exptimes)
|
|
93
|
+
|
|
93
94
|
# Parameter population branch
|
|
94
95
|
# ---------------------------
|
|
95
96
|
else:
|
|
96
97
|
npv = t0.size
|
|
97
|
-
if e is None
|
|
98
|
-
|
|
98
|
+
e = zeros(npv) if e is None else asarray(e)
|
|
99
|
+
w = zeros(npv) if w is None else asarray(w)
|
|
99
100
|
|
|
100
101
|
if k.ndim == 1:
|
|
101
102
|
k = k.reshape((k.size,1))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.15 → pytransit-2.6.16}/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
|