lightweaver 0.15.0__cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.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.

Potentially problematic release.


This version of lightweaver might be problematic. Click here for more details.

Files changed (69) hide show
  1. lightweaver/Data/AbundancesAsplund09.pickle +0 -0
  2. lightweaver/Data/AtomicMassesNames.pickle +0 -0
  3. lightweaver/Data/Barklem_dfdata.dat +41 -0
  4. lightweaver/Data/Barklem_pddata.dat +40 -0
  5. lightweaver/Data/Barklem_spdata.dat +46 -0
  6. lightweaver/Data/DefaultMolecules/C2.molecule +27 -0
  7. lightweaver/Data/DefaultMolecules/CH/CH_X-A.asc +46409 -0
  8. lightweaver/Data/DefaultMolecules/CH/CH_X-A_12.asc +28322 -0
  9. lightweaver/Data/DefaultMolecules/CH/CH_X-B.asc +4272 -0
  10. lightweaver/Data/DefaultMolecules/CH/CH_X-B_12.asc +2583 -0
  11. lightweaver/Data/DefaultMolecules/CH/CH_X-C.asc +20916 -0
  12. lightweaver/Data/DefaultMolecules/CH/CH_X-C_12.asc +13106 -0
  13. lightweaver/Data/DefaultMolecules/CH.molecule +35 -0
  14. lightweaver/Data/DefaultMolecules/CN.molecule +30 -0
  15. lightweaver/Data/DefaultMolecules/CO/vmax=3_Jmax=49_dv=1_26 +296 -0
  16. lightweaver/Data/DefaultMolecules/CO/vmax=9_Jmax=120_dv=1_26 +2162 -0
  17. lightweaver/Data/DefaultMolecules/CO.molecule +30 -0
  18. lightweaver/Data/DefaultMolecules/CO_NLTE.molecule +29 -0
  19. lightweaver/Data/DefaultMolecules/CaH.molecule +29 -0
  20. lightweaver/Data/DefaultMolecules/H2+.molecule +27 -0
  21. lightweaver/Data/DefaultMolecules/H2.molecule +27 -0
  22. lightweaver/Data/DefaultMolecules/H2O.molecule +27 -0
  23. lightweaver/Data/DefaultMolecules/HF.molecule +29 -0
  24. lightweaver/Data/DefaultMolecules/LiH.molecule +27 -0
  25. lightweaver/Data/DefaultMolecules/MgH.molecule +34 -0
  26. lightweaver/Data/DefaultMolecules/N2.molecule +28 -0
  27. lightweaver/Data/DefaultMolecules/NH.molecule +27 -0
  28. lightweaver/Data/DefaultMolecules/NO.molecule +27 -0
  29. lightweaver/Data/DefaultMolecules/O2.molecule +27 -0
  30. lightweaver/Data/DefaultMolecules/OH.molecule +27 -0
  31. lightweaver/Data/DefaultMolecules/SiO.molecule +26 -0
  32. lightweaver/Data/DefaultMolecules/TiO.molecule +30 -0
  33. lightweaver/Data/Quadratures.pickle +0 -0
  34. lightweaver/Data/pf_Kurucz.input +0 -0
  35. lightweaver/DefaultIterSchemes/.placeholder +0 -0
  36. lightweaver/DefaultIterSchemes/SimdImpl_AVX2FMA.cpython-310-x86_64-linux-gnu.so +0 -0
  37. lightweaver/DefaultIterSchemes/SimdImpl_AVX512.cpython-310-x86_64-linux-gnu.so +0 -0
  38. lightweaver/DefaultIterSchemes/SimdImpl_SSE2.cpython-310-x86_64-linux-gnu.so +0 -0
  39. lightweaver/LwCompiled.cpython-310-x86_64-linux-gnu.so +0 -0
  40. lightweaver/__init__.py +33 -0
  41. lightweaver/atmosphere.py +1640 -0
  42. lightweaver/atomic_model.py +852 -0
  43. lightweaver/atomic_set.py +1286 -0
  44. lightweaver/atomic_table.py +653 -0
  45. lightweaver/barklem.py +151 -0
  46. lightweaver/benchmark.py +113 -0
  47. lightweaver/broadening.py +605 -0
  48. lightweaver/collisional_rates.py +337 -0
  49. lightweaver/config.py +106 -0
  50. lightweaver/constants.py +22 -0
  51. lightweaver/crtaf.py +197 -0
  52. lightweaver/fal.py +440 -0
  53. lightweaver/iterate_ctx.py +241 -0
  54. lightweaver/iteration_update.py +134 -0
  55. lightweaver/libenkiTS.so +0 -0
  56. lightweaver/molecule.py +225 -0
  57. lightweaver/multi.py +113 -0
  58. lightweaver/nr_update.py +106 -0
  59. lightweaver/rh_atoms.py +19743 -0
  60. lightweaver/simd_management.py +42 -0
  61. lightweaver/utils.py +504 -0
  62. lightweaver/version.py +34 -0
  63. lightweaver/wittmann.py +1375 -0
  64. lightweaver/zeeman.py +157 -0
  65. lightweaver-0.15.0.dist-info/METADATA +81 -0
  66. lightweaver-0.15.0.dist-info/RECORD +69 -0
  67. lightweaver-0.15.0.dist-info/WHEEL +6 -0
  68. lightweaver-0.15.0.dist-info/licenses/LICENSE +21 -0
  69. lightweaver-0.15.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,30 @@
1
+ # <<One-line molecular model description>>
2
+ CO
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ C, O
9
+
10
+ # Ediss [eV]
11
+ 11.091
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ KURUCZ_85
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 12.0E+3
18
+
19
+ # pf_coef
20
+ 7 4.51349 18.4221 -50.0599 102.208 -128.504 87.8414 -24.8533
21
+
22
+ # eqc_coef
23
+ 6 -49.0414 14.0306 -26.6341 35.3827 -26.5424 8.32385
24
+
25
+ # Filename with line data (Pick one)
26
+
27
+ ## ../../Molecules/CO/goorvitch.dv1_26
28
+ ## ../../Molecules/CO/vmax=9_Jmax=120_dv=1_26
29
+
30
+ ## end
@@ -0,0 +1,29 @@
1
+ # <<One-line molecular model description>>
2
+ CO
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ C, O
9
+
10
+ # Ediss [eV]
11
+ 11.091
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ KURUCZ_85
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 12.0E+3
18
+
19
+ # pf_coef
20
+ 7 4.51349 18.4221 -50.0599 102.208 -128.504 87.8414 -24.8533
21
+
22
+ # eqc_coef
23
+ 6 -49.0414 14.0306 -26.6341 35.3827 -26.5424 8.32385
24
+
25
+ # Filename with line data
26
+
27
+ ../../Molecules/CO/vmax=9_Jmax=120_dv=1_26
28
+
29
+ ## end
@@ -0,0 +1,29 @@
1
+ # <<One-line molecular model description>>
2
+ CAH
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ Ca, H
9
+
10
+ # Ediss [eV]
11
+ 1.7000
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 3.8411 -2.3891 1.3578 -0.6893
21
+
22
+ # eqc_coef
23
+ 5 9.1952 -0.8802 1.1610 -2.5221 1.3514
24
+
25
+ # Filenames with line data
26
+
27
+ # /home/uitenbr/src/rh_v2/Molecules/CaH/cah.asc
28
+
29
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ H2+
3
+
4
+ # Charge
5
+ 1
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ 2H
9
+
10
+ # Ediss [eV]
11
+ -10.948
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ KURUCZ_70
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 0
21
+
22
+ # eqc_coef
23
+ 5 -9.2120E+00 1.9386E-03 -4.7676E-07 7.4004E-11 -4.5518E-15
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ H2
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ 2H
9
+
10
+ # Ediss [eV]
11
+ 4.478
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ KURUCZ_85
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 7 0.582145 16.3760 -49.4684 112.049 -149.953 106.531 -30.9791
21
+
22
+ # eqc_coef
23
+ 7 -46.4584 16.3660 -49.3992 111.822 -149.567 106.206 -30.8720
24
+
25
+ # Filenames with line data
26
+ ## ../../Molecules/H2/H2_X-B.DAT
27
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ H2O
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ 2H, O
9
+
10
+ # Ediss [eV]
11
+ 9.512
12
+
13
+ # Fit type for partition function and equilibrium constant
14
+ KURUCZ_70
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 6.0E+3
18
+
19
+ # pf_coef
20
+ 0
21
+
22
+ # eqc_coef
23
+ 5 -9.3179E+01 2.6725E-03 -5.7830E-07 8.5268E-11 -5.1311E-15
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,29 @@
1
+ # <<One-line molecular model description>>
2
+ HF
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ H, F
9
+
10
+ # Ediss [eV]
11
+ 5.869
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 2.4164 -1.6132 0.6357 -0.1767
21
+
22
+ # eqc_coef
23
+ 3 11.2835 -0.9228 -0.5642
24
+
25
+ # Filenames with line data
26
+
27
+ ## /home/uitenbr/src/rh_v2/Molecules/HF/HF_X-X.asc
28
+ /Users/uitenbr/Source/rh_v2/Molecules/HF/HF_X-X.zeeman
29
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ LIH
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ Li, H
9
+
10
+ # Ediss [eV]
11
+ 2.4287
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 3.2564 -2.1799 0.7236 -0.1052
21
+
22
+ # eqc_coef
23
+ 5 9.9506 -0.5163 0.1833 -1.7211 1.2805
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,34 @@
1
+ # <<One-line molecular model description>>
2
+ MGH
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ Mg, H
9
+
10
+ # Ediss [eV]
11
+ 1.3400
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+ ## IRWIN_81
16
+
17
+ # Tmin and Tmax [K]
18
+ 1.0E+3 15.0E+3
19
+
20
+ # pf_coef SAUVAL & TATUM 84
21
+ 4 3.6704 -2.2682 0.9354 -0.2597
22
+
23
+ # pf_coef IRWIN 81
24
+ ## 6 -2.53112027E+02 1.72996315E+02 -4.65953970E+01 6.25577718E+00 -4.16915792E-01 1.10889210E-02
25
+
26
+ # eqc_coef
27
+ 5 9.2846 -0.3587 -0.1220 -1.5627 1.3047
28
+
29
+ # Filenames with line data
30
+
31
+ # /home/uitenbr/src/rh_v2/Molecules/MgH/MgH_X-A.asc
32
+ # /home/uitenbr/src/rh_v2/Molecules/MgH/MgH_X-B.asc
33
+
34
+ ## end
@@ -0,0 +1,28 @@
1
+ # <<One-line molecular model description>>
2
+ N2
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ 2N
9
+
10
+ # Ediss [eV]
11
+ 9.7594
12
+
13
+ # Fit type for partition function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 3 3.2643 -1.7303 0.4192
21
+
22
+ # eqc_coef
23
+ 5 11.8838 -0.8915 0.2929 -1.4220 0.9007
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
28
+
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ NH
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ N, H
9
+
10
+ # Ediss [eV]
11
+ 3.470
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 3.0735 -1.8501 0.9607 -0.3935
21
+
22
+ # eqc_coef
23
+ 3 10.4609 -0.7387 -0.5713
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ NO
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ N, O
9
+
10
+ # Ediss [eV]
11
+ 6.4968
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 3 4.3073 -1.8255 0.3765
21
+
22
+ # eqc_coef
23
+ 4 11.2253 -0.8143 0.0446 -0.4529
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ O2
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ 2O
9
+
10
+ # Ediss [eV]
11
+ 5.1156
12
+
13
+ # Fit type for partition function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 4.0636 -2.0779 0.7660 -0.2111
21
+
22
+ # eqc_coef
23
+ 3 11.8558 -0.5309 -0.6214
24
+
25
+ # Filenames with line data
26
+
27
+ ## end
@@ -0,0 +1,27 @@
1
+ # <<One-line molecular model description>>
2
+ OH
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ O, H
9
+
10
+ # Ediss [eV]
11
+ 4.392
12
+
13
+ # Fit type for partition function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 3.0929 -1.6778 0.6743 -0.1874
21
+
22
+ # eqc_coef
23
+ 3 10.7881 -0.8762 -0.5436
24
+
25
+ # Filenames with line data
26
+ ## /home/uitenbr/src/rh_v2/Molecules/OH/OH_X-X_1565.zeeman
27
+ ## end
@@ -0,0 +1,26 @@
1
+ # <<One-line molecular model description>>
2
+ SiO
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # Constituent elements
8
+ SI, O
9
+
10
+ # Ediss [eV]
11
+ 8.26
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 5 4.2275 -1.9144 0.7201 -1.3099 1.1657
21
+
22
+ # eqc_coef
23
+ 5 11.8772 -0.8349 -0.5248 1.1271 -1.1984
24
+
25
+ # Filenames with line data
26
+ ## end
@@ -0,0 +1,30 @@
1
+ # <<One-line molecular model description>>
2
+ TiO
3
+
4
+ # Charge
5
+ 0
6
+
7
+ # List of constituent atoms of the form nA, mB, pC for molecule AmBnCp
8
+ TI, O
9
+
10
+ # Ediss [eV]
11
+ 6.87
12
+
13
+ # Fit type for partion function and equilibrium constant
14
+ SAUVAL_TATUM_84
15
+
16
+ # Tmin and Tmax [K]
17
+ 1.0E+3 9.0E+3
18
+
19
+ # pf_coef
20
+ 4 5.3051 -2.3739 0.8940 -0.3641
21
+
22
+ # eqc_coef
23
+ 4 11.4047 -1.1484 0.6478 -0.6737
24
+
25
+ # Filenames with line data
26
+ ## ../../Molecules/TiO/TiO_schwenke_5379-5381.asc
27
+ ## ../../Molecules/TiO/TiO_schwenke_5575-5577.asc
28
+ ../../Molecules/TiO/TiO_schwenke_7089_7092.asc
29
+
30
+ ## end
Binary file
Binary file
File without changes
@@ -0,0 +1,33 @@
1
+ from .atmosphere import (Atmosphere, BoundaryCondition, Layout, NoBc,
2
+ PeriodicRadiation, ScaleType, Stratifications,
3
+ ThermalisedRadiation, ZeroRadiation)
4
+ from .atomic_model import reconfigure_atom
5
+ from .atomic_set import (RadiativeSet, SpectrumConfiguration, hminus_pops,
6
+ lte_pops)
7
+ from .atomic_table import (AtomicAbundance, DefaultAtomicAbundance, Element,
8
+ Isotope, KuruczPfTable, PeriodicTable)
9
+ from .benchmark import benchmark
10
+ from .config import params as ConfigDict
11
+ from .constants import *
12
+ from .iterate_ctx import (ConvergenceCriteria, DefaultConvergenceCriteria,
13
+ iterate_ctx_se)
14
+ from .iteration_update import IterationUpdate
15
+ from .LwCompiled import LwContext
16
+ from .molecule import MolecularTable
17
+ from .multi import read_multi_atmos
18
+ from .nr_update import nr_post_update
19
+ from .utils import (ConvergenceError, CrswIterator, ExplodingMatrixError,
20
+ InitialSolution, NgOptions, UnityCrswIterator, air_to_vac,
21
+ compute_contribution_fn, compute_height_edges,
22
+ compute_radiative_losses, compute_wavelength_edges,
23
+ convert_specific_intensity, gaunt_bf, get_data_path,
24
+ get_default_molecule_path, integrate_line_losses, planck,
25
+ vac_to_air, voigt_H)
26
+ from .version import version as __version__
27
+
28
+
29
+ # NOTE(cmo): This is here to make it easier to retroactively monkeypatch
30
+ class Context(LwContext):
31
+ pass
32
+
33
+ setattr(Context, 'nr_post_update', nr_post_update)