sedlib 1.0.0__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.
@@ -0,0 +1,2 @@
1
+ # Package data directory
2
+
@@ -0,0 +1,62 @@
1
+ # Coefficients for Bolometric Correction Calculations
2
+ #
3
+ # This file contains the polynomial coefficients (with uncertainties) used to compute
4
+ # the bolometric correction (BC) for stars based on their temperature. The bolometric
5
+ # correction is determined via a fourth-order polynomial fit of the form:
6
+ #
7
+ # BC = a + b*T + c*T^2 + d*T^3 + e*T^4
8
+ #
9
+ # which can be efficiently evaluated using Horner's method:
10
+ #
11
+ # BC = a + T*(b + T*(c + T*(d + T*e)))
12
+ #
13
+ # Each photometric filter (e.g., B, V, G, GBP, GRP, TESS) has its own set of coefficients.
14
+ # The coefficients are expressed as pairs [nominal value, uncertainty] and are intended to be
15
+ # converted to ufloat objects (using the Python uncertainties package) to properly propagate
16
+ # errors during calculations.
17
+ #
18
+ # These coefficients are based on the methodology described in:
19
+ # https://arxiv.org/pdf/2305.12538
20
+
21
+ B:
22
+ a: [-1272.43, 394.2]
23
+ b: [1075.85, 394.4]
24
+ c: [-337.831, 147.7]
25
+ d: [46.8074, 24.53]
26
+ e: [-2.42862, 1.552]
27
+ RMS: 0.136257
28
+ V:
29
+ a: [-3767.98, 288.8]
30
+ b: [3595.86, 290.9]
31
+ c: [-1286.59, 109.6]
32
+ d: [204.764, 18.32]
33
+ e: [-12.2469, 1.146]
34
+ RMS: 0.120071
35
+ G:
36
+ a: [-1407.14, 256.7]
37
+ b: [1305.08, 258.9]
38
+ c: [-453.605, 97.67]
39
+ d: [70.2338, 16.34]
40
+ e: [-4.1047, 1.023]
41
+ RMS: 0.111068
42
+ GBP:
43
+ a: [-3421.55, 293.6]
44
+ b: [3248.19, 296.1]
45
+ c: [-1156.82, 111.7]
46
+ d: [183.372, 18.68]
47
+ e: [-10.9305, 1.169]
48
+ RMS: 0.126577
49
+ GRP:
50
+ a: [-1415.67, 253.3]
51
+ b: [1342.38, 255.4]
52
+ c: [-475.827, 96.34]
53
+ d: [74.9702, 16.12]
54
+ e: [-4.44923, 1.009]
55
+ RMS: 0.109179
56
+ TESS:
57
+ a: [-318.533, 18.92]
58
+ b: [232.298, 14.4]
59
+ c: [-55.2916, 3.642]
60
+ d: [4.27613, 0.3061]
61
+ e: [0, 0]
62
+ RMS: 0.110951
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env python
2
+
3
+ """Filter class for managing photometric filters."""
4
+
5
+ from .core import Filter