This release is a pre-release and may not be stable for production use.
FastFix GPS snapshot positioning algorithm
The FastFix algorithm uses a least-squares optimization to estimate receiver position and GPS time from measurements of the relative codephase, and Doppler-shift of GNSS satellite signals. A practical application of this algorithm is demonstrated in a small, lightweight, low-power tracking tag that periodically wakes-up, records and stores 4 ms of GPS L1-band signal and returns to a low-power state—reducing power requirements by a factor of ∼10,000 compared to typical GPS devices. Stationary device testing shows a median error of 27.7 m with a small patch antenna.
Usage
The process for use is a two-step process. Step 1 is acquisition of the satellite signals. There is a command-line tool for that.
Acquisition
usage: acquire [-h] [--tag-dir TAG_DIR] [--binfile BINFILE] --outfile OUTFILE [--decodedfile DECODEDFILE] --fc0 FC0 [--resolution RESOLUTION] [--epochs EPOCHS] [--iq] [--spectrum] [--corr-plot] [--start-date START_DATE]
Acquire SV signals from Max2769B GPS data.
optional arguments:
-h, --help show this help message and exit
--tag-dir TAG_DIR The FastFix tag directory.
--binfile BINFILE The binary data file.
--outfile OUTFILE The output data file.
--decodedfile DECODEDFILE
The decoded file.
--fc0 FC0 Center Frequency.
--resolution RESOLUTION
Number of bits per sample.
--epochs EPOCHS Number of code epochs.
--iq Use I/Q complex baseband.
--spectrum Plot the spectrum of the data.
--corr-plot Plot the correlations of each SV.
--start-date START_DATE
Date and time for the start of the clock.
Example: acquire --binfile test_data/FIX00033.BIN --fc0 4.092e6 --outfile test_data/FIX00033.json
FastFix algorith
This processes a json file that contains one or more acquisition outputs.
usage: fastfix [-h] --json-file JSON_FILE --output-file OUTPUT_FILE [--mcmc] [--plot] [--n N] [--clock-offset-std CLOCK_OFFSET_STD]
FastFix algorithm.
optional arguments:
-h, --help show this help message and exit
--json-file JSON_FILE
The JSON acquisition file.
--output-file OUTPUT_FILE
The JSON output file.
--mcmc Use an MCMC.
--plot Make plots of the posteriors.
--n N How many fixes to process.
--clock-offset-std CLOCK_OFFSET_STD
Estimated error in the local clock (seconds).
Example:
fastfix --json-file test_data/FIX00033.json --output-file test_data.json
References
The FastFix algorithm is described in Molteno, Timothy CA. "Estimating Position from Millisecond Samples of GPS Signals (the “FastFix” Algorithm)." Sensors 20.22 (2020): 6480.
Citing this work: @article{molteno2020estimating, title={Estimating Position from Millisecond Samples of GPS Signals (the “FastFix” Algorithm)}, author={Molteno, Timothy CA}, journal={Sensors (Basel, Switzerland)}, volume={20}, number={22}, year={2020}, publisher={Multidisciplinary Digital Publishing Institute (MDPI)} }
Test Data
A full dataset including test data is available at doi:10.5281/zenodo.4266994.
Metadata
Release files for fastfix 0.1.0b3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastfix-0.1.0b3.tar.gz | 37.8 kB | Without provenance | Details for fastfix-0.1.0b3.tar.gz |
Release files / fastfix-0.1.0b3.tar.gz
| Download URL | fastfix-0.1.0b3.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51935276dfa89298d8ff8ee4cbaba7a16568a1a7f80660cd5700e59d512ff1a6
|
|
BLAKE2b-256 checksum How to use checksums |
2defe1a802437f72f390efc19556ae97c6b90900d2e614ad11c6f678aebe343b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.7
|
Security for fastfix 0.1.0b3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.