pygnss 1.0.0.post5__py3-none-any.whl → 1.0.0.post7__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.
Potentially problematic release.
This version of pygnss might be problematic. Click here for more details.
- pygnss/__init__.py +1 -0
- pygnss/helpers.py +13 -0
- {pygnss-1.0.0.post5.dist-info → pygnss-1.0.0.post7.dist-info}/METADATA +2 -2
- pygnss-1.0.0.post7.dist-info/RECORD +7 -0
- pygnss-1.0.0.post5.dist-info/RECORD +0 -6
- {pygnss-1.0.0.post5.dist-info → pygnss-1.0.0.post7.dist-info}/LICENSE +0 -0
- {pygnss-1.0.0.post5.dist-info → pygnss-1.0.0.post7.dist-info}/WHEEL +0 -0
- {pygnss-1.0.0.post5.dist-info → pygnss-1.0.0.post7.dist-info}/top_level.txt +0 -0
pygnss/__init__.py
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.0.0'
|
pygnss/helpers.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from typing import Iterable
|
|
2
|
+
import numpy as np
|
|
3
|
+
import pandas as pd
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def compute_elapsed_seconds(epochs:pd.Series) -> pd.Series:
|
|
7
|
+
return (epochs - epochs.iloc[0]).dt.total_seconds()
|
|
8
|
+
|
|
9
|
+
def compute_decimal_hours(epochs:pd.Series) -> pd.Series:
|
|
10
|
+
return epochs.apply(lambda x: x.hour + x.minute / 60 + x.second / 3600)
|
|
11
|
+
|
|
12
|
+
def compute_rms(values:Iterable) -> float:
|
|
13
|
+
return np.sqrt(np.mean(np.square(values)))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pygnss
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.post7
|
|
4
4
|
Summary: Rokubun GNSS processing utilities.
|
|
5
5
|
Home-page: https://github.com/rokubun/pygnss
|
|
6
6
|
Author: Rokubun
|
|
@@ -20,5 +20,5 @@ This repository includes a series of tools to process GNSS data
|
|
|
20
20
|
To install the package:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
23
|
+
pip install pygnss
|
|
24
24
|
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pygnss/__init__.py,sha256=UzIaqhPp14Ovip1UIYvWs8sxODaw0LNQGjdRg9thRS8,21
|
|
2
|
+
pygnss/helpers.py,sha256=HiNkNec1P6CHs5spzh4uITlCujKJtVPLltD7YuRZcxQ,411
|
|
3
|
+
pygnss-1.0.0.post7.dist-info/LICENSE,sha256=1zfF0G6hMAEdsZfmxhznzXDlfGfX8KXeEGIVvyhzbZQ,1064
|
|
4
|
+
pygnss-1.0.0.post7.dist-info/METADATA,sha256=V_7dnf7pf_jjcmmlY3XJGWAxNPDeY1U5EQ14x95XWh8,555
|
|
5
|
+
pygnss-1.0.0.post7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
+
pygnss-1.0.0.post7.dist-info/top_level.txt,sha256=oZRSR-qOv98VW2PRRMGCVNCJmewcJjyJYmxzxfeimtg,7
|
|
7
|
+
pygnss-1.0.0.post7.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
pygnss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
pygnss-1.0.0.post5.dist-info/LICENSE,sha256=1zfF0G6hMAEdsZfmxhznzXDlfGfX8KXeEGIVvyhzbZQ,1064
|
|
3
|
-
pygnss-1.0.0.post5.dist-info/METADATA,sha256=PCATwPzmfrHeeklp459XTem6ke4XcoeBznST8ilY1hU,556
|
|
4
|
-
pygnss-1.0.0.post5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
5
|
-
pygnss-1.0.0.post5.dist-info/top_level.txt,sha256=oZRSR-qOv98VW2PRRMGCVNCJmewcJjyJYmxzxfeimtg,7
|
|
6
|
-
pygnss-1.0.0.post5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|