pygnss 0.7.0__cp310-cp310-musllinux_1_2_x86_64.whl → 1.0.0__cp310-cp310-musllinux_1_2_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 pygnss might be problematic. Click here for more details.
- pygnss/__init__.py +1 -1
- pygnss/_c_ext.cpython-310-x86_64-linux-gnu.so +0 -0
- pygnss/iono/chapman.py +35 -0
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/METADATA +1 -1
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/RECORD +9 -8
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/WHEEL +1 -1
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/entry_points.txt +0 -0
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {pygnss-0.7.0.dist-info → pygnss-1.0.0.dist-info}/top_level.txt +0 -0
pygnss/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "1.0.0"
|
|
Binary file
|
pygnss/iono/chapman.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Module to compute the Chapman ionospheric model.
|
|
3
|
+
|
|
4
|
+
This module provides functions to compute the Chapman ionospheric model,
|
|
5
|
+
which is used to estimate the electron density in the ionosphere based on
|
|
6
|
+
solar zenith angle and other parameters.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import numpy as np
|
|
10
|
+
|
|
11
|
+
HEIGHTS_KM = np.arange(60, 1000, 10)
|
|
12
|
+
|
|
13
|
+
def compute_chapman_profile(hmF2_km: float, NmF2: float, H_km: float, zenith_angle_deg: float, heights_km: float | np.ndarray =HEIGHTS_KM) -> float | np.ndarray:
|
|
14
|
+
"""
|
|
15
|
+
Compute the Chapman ionospheric model.
|
|
16
|
+
|
|
17
|
+
Parameters:
|
|
18
|
+
zenith_angle (float or np.ndarray): Solar zenith angle, the angle between the vertical and the direction to the Sun.
|
|
19
|
+
hmF2_km (float): Height of the F2 layer in kilometers.
|
|
20
|
+
NmF2 (float): Peak electron density at hmF2 in electrons/m^3.
|
|
21
|
+
H_km (float): Scale height in kilometers (typical values between 30 and 50 km).
|
|
22
|
+
heights_km (np.ndarray, optional): Heights at which to compute the electron density.
|
|
23
|
+
If None, defaults to a range from 0 to 100 km.
|
|
24
|
+
|
|
25
|
+
Returns:
|
|
26
|
+
float or np.ndarray: Computed electron density based on the Chapman model.
|
|
27
|
+
"""
|
|
28
|
+
# Convert zenith angle from degrees to radians
|
|
29
|
+
zenith_angle_rad = np.radians(zenith_angle_deg)
|
|
30
|
+
|
|
31
|
+
# Include scale height
|
|
32
|
+
z = (heights_km - hmF2_km) / H_km
|
|
33
|
+
|
|
34
|
+
# Compute the Chapman function
|
|
35
|
+
return NmF2 * np.exp( 0.5 * (1 - z - np.exp(-z) / np.cos(zenith_angle_rad)))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
pygnss/__init__.py,sha256=
|
|
2
|
-
pygnss/_c_ext.cpython-310-x86_64-linux-gnu.so,sha256=
|
|
1
|
+
pygnss/__init__.py,sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI,22
|
|
2
|
+
pygnss/_c_ext.cpython-310-x86_64-linux-gnu.so,sha256=AAR26mx-bB4t5Qm-1k1zh5W8WE1XbKsFCSNQNRs9Bck,82952
|
|
3
3
|
pygnss/cl.py,sha256=ISmd2RjikUMmj3nLPN0VSjvQLG5rLizp2X2ajeBkoDE,4509
|
|
4
4
|
pygnss/constants.py,sha256=1hF6K92X6E6Ofo0rAuCBCgrwln9jxio26RV2a6vyURk,133
|
|
5
5
|
pygnss/decorator.py,sha256=qB-0jl2GTEHJdvmDruNll5X3RrdySssv94u9Hok5-lA,1438
|
|
@@ -27,14 +27,15 @@ pygnss/gnss/observables.py,sha256=0x0NLkTjxf8cO9F_f_Q1b-1hEeoNjWB2x-53ecUEv0M,16
|
|
|
27
27
|
pygnss/gnss/residuals.py,sha256=8qKGNOYkrqxHGOSjIfH21K82PAqEh2068kf78j5usL8,1244
|
|
28
28
|
pygnss/gnss/types.py,sha256=lmL15KRckRiTwVkYvGzF4c1BrojnQlegrYCXSz1hGaI,10377
|
|
29
29
|
pygnss/iono/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
+
pygnss/iono/chapman.py,sha256=u2XTQgEkQxhazfPGNdH5hEZ5YjPvATgMz4eIF4Adsfg,1396
|
|
30
31
|
pygnss/iono/gim.py,sha256=khKzClxLf46mVO6BCDk9u9DgS_50d-sbWEyoUQu7Jng,3543
|
|
31
32
|
pygnss/orbit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
33
|
pygnss/orbit/kepler.py,sha256=QORTgg5yBtsQXxLWSzoZ1pmh-CwPiZlFdIYqhQhv1a0,1745
|
|
33
34
|
pygnss/orbit/tle.py,sha256=6CIEielPgui3DXNv46XxOGlig31ROIwjH42xLGaeE5M,5905
|
|
34
35
|
pygnss/parsers/rtklib/stats.py,sha256=YV6yadxMeQMQYZvsUCaSf4ZTpK8Bbv3f2xgu0l4PekA,5449
|
|
35
|
-
pygnss-0.
|
|
36
|
-
pygnss-0.
|
|
37
|
-
pygnss-0.
|
|
38
|
-
pygnss-0.
|
|
39
|
-
pygnss-0.
|
|
40
|
-
pygnss-0.
|
|
36
|
+
pygnss-1.0.0.dist-info/METADATA,sha256=sDTBwqqNfXkPm03E0EEnHedlYv86Gwt1lc-SNlH5mOA,1666
|
|
37
|
+
pygnss-1.0.0.dist-info/WHEEL,sha256=YJPq7zroHSsdctrb_KymZ4ss41PkmaA9SD9TZzqKSX8,112
|
|
38
|
+
pygnss-1.0.0.dist-info/entry_points.txt,sha256=awWUCMfX3uMIAPPZqZfSUuw7Kd7defip8L7GtthKqgg,292
|
|
39
|
+
pygnss-1.0.0.dist-info/top_level.txt,sha256=oZRSR-qOv98VW2PRRMGCVNCJmewcJjyJYmxzxfeimtg,7
|
|
40
|
+
pygnss-1.0.0.dist-info/RECORD,,
|
|
41
|
+
pygnss-1.0.0.dist-info/licenses/LICENSE,sha256=Wwany6RAAZ9vVHjFLA9KBJ0HE77d52s2NOUA1CPAEug,1067
|
|
File without changes
|
|
File without changes
|
|
File without changes
|