ExoIris 0.23.1__py3-none-any.whl → 0.23.2__py3-none-any.whl
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.
- exoiris/exoiris.py +10 -0
- exoiris/tslpf.py +8 -1
- exoiris/wlpf.py +1 -1
- {exoiris-0.23.1.dist-info → exoiris-0.23.2.dist-info}/METADATA +1 -1
- {exoiris-0.23.1.dist-info → exoiris-0.23.2.dist-info}/RECORD +8 -8
- {exoiris-0.23.1.dist-info → exoiris-0.23.2.dist-info}/WHEEL +0 -0
- {exoiris-0.23.1.dist-info → exoiris-0.23.2.dist-info}/licenses/LICENSE +0 -0
- {exoiris-0.23.1.dist-info → exoiris-0.23.2.dist-info}/top_level.txt +0 -0
exoiris/exoiris.py
CHANGED
|
@@ -529,6 +529,16 @@ class ExoIris:
|
|
|
529
529
|
"""
|
|
530
530
|
self._tsa.set_k_knots(knot_wavelengths)
|
|
531
531
|
|
|
532
|
+
def free_radius_ratio_knot_locations(self, knot_ids: list[int] | ndarray) -> None:
|
|
533
|
+
"""Add the wavelength locations of chosen radius ratio knots to the model as free parameters.
|
|
534
|
+
|
|
535
|
+
Parameters
|
|
536
|
+
----------
|
|
537
|
+
knot_ids
|
|
538
|
+
List of radius ratio knot indices to be made free parameters.
|
|
539
|
+
"""
|
|
540
|
+
self._tsa.free_k_knot_locations(knot_ids)
|
|
541
|
+
|
|
532
542
|
def create_dense_radius_ratio_block(self, wlmin: float, wlmax: float) -> None:
|
|
533
543
|
"""Create a block of radius ratio knots using the full data resolution.
|
|
534
544
|
|
exoiris/tslpf.py
CHANGED
|
@@ -550,7 +550,14 @@ class TSLPF(LogPosteriorFunction):
|
|
|
550
550
|
self._mc_chains = fmcn.reshape([mco.shape[0], mco.shape[1], ndn])
|
|
551
551
|
self.sampler = None
|
|
552
552
|
|
|
553
|
-
def set_free_k_knots(self, ids):
|
|
553
|
+
def set_free_k_knots(self, ids: list[int] | ndarray) -> None:
|
|
554
|
+
"""Add the wavelength locations of chosen radius ratio knots as free model parameters.
|
|
555
|
+
|
|
556
|
+
Parameters
|
|
557
|
+
----------
|
|
558
|
+
ids : list of int
|
|
559
|
+
List of radius ratio knot indices to be made free parameters.
|
|
560
|
+
"""
|
|
554
561
|
self.free_k_knot_ids = ids
|
|
555
562
|
|
|
556
563
|
# Remove existing parameter block if one exists
|
exoiris/wlpf.py
CHANGED
|
@@ -128,7 +128,7 @@ class WhiteLPF(BaseLPF):
|
|
|
128
128
|
pv = self._local_minimization.x
|
|
129
129
|
a = as_from_rhop(pv[1], pv[0])
|
|
130
130
|
i = i_from_ba(pv[2], a)
|
|
131
|
-
t14 = d_from_pkaiews(pv[0], sqrt(pv[
|
|
131
|
+
t14 = d_from_pkaiews(pv[0], sqrt(pv[self._start_k2]), a, i, 0., 0., 1, 14)
|
|
132
132
|
return t14
|
|
133
133
|
|
|
134
134
|
def plot(self, axs=None, figsize=None, ncols=2) -> Figure:
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
exoiris/__init__.py,sha256=LU5jAE7_OVPLHFO0UAOGS0e0wuWV6rdSD0Qveet11K8,1147
|
|
2
2
|
exoiris/binning.py,sha256=-Y9hdK0jZj8DOS82keaprneid2lZ4rCx-keWlKi0LP8,6455
|
|
3
3
|
exoiris/ephemeris.py,sha256=dthBkJztT5yAP6VnnO7jGvxikboFUQBUGPUfBCFrA3w,1316
|
|
4
|
-
exoiris/exoiris.py,sha256=
|
|
4
|
+
exoiris/exoiris.py,sha256=zu-_RP1DvHUjvNNT81PBpsVd8aMrAZ134vBveJ4Z6HA,61355
|
|
5
5
|
exoiris/ldtkld.py,sha256=7H1r1xail3vSKdsNKorMTqivnRKU9WrOVH-uE4Ky2jM,3495
|
|
6
6
|
exoiris/loglikelihood.py,sha256=lVm7kMyzy-xxP5VvZMV7kJY3KovbhlEz3u_6O7R6zgI,6309
|
|
7
7
|
exoiris/spotmodel.py,sha256=9-DxvVzGzxf6AjQfrzZreyJB4Htw0gsIAD3nWl0tQMc,7160
|
|
8
8
|
exoiris/tsdata.py,sha256=s3R6sByy7Ud26F3TdaRaXNQi-rYeJHnm7XHk2FLd1Go,36622
|
|
9
|
-
exoiris/tslpf.py,sha256=
|
|
9
|
+
exoiris/tslpf.py,sha256=DcnwuqFNL0ZW9RLWmppJxN6UOlrtdQAzd21ZedfA6Es,33830
|
|
10
10
|
exoiris/tsmodel.py,sha256=6NaGY48fWHUT_7ti6Ao618PN-LgyoIhfQd8lZQqZ7hU,5160
|
|
11
11
|
exoiris/util.py,sha256=uNv_c3Kuv1lml8MuDAuyElO4s3f1tRIQ1QMlLaI7Yak,5921
|
|
12
|
-
exoiris/wlpf.py,sha256=
|
|
13
|
-
exoiris-0.23.
|
|
14
|
-
exoiris-0.23.
|
|
15
|
-
exoiris-0.23.
|
|
16
|
-
exoiris-0.23.
|
|
17
|
-
exoiris-0.23.
|
|
12
|
+
exoiris/wlpf.py,sha256=ixEsDXLHSglYOWhJKA87NJPrLWqhEk4DYhn1IaShN8U,6294
|
|
13
|
+
exoiris-0.23.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
14
|
+
exoiris-0.23.2.dist-info/METADATA,sha256=j_sUV7HhzWwtgZpN9PPItE3M4fdJufnsRO1YIRav_U8,5084
|
|
15
|
+
exoiris-0.23.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
16
|
+
exoiris-0.23.2.dist-info/top_level.txt,sha256=EoNxT6c5mQDcM0f_LUQB-ETsYg03lNaV3o2L_Yc6-aE,8
|
|
17
|
+
exoiris-0.23.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|