Skip to main content

CNRDIFF

A library used to compare signal-to-noise ratio.(卫星载噪比差值比较)

依赖项

  • pyrtcm
  • pandas

使用方法

计算 SN04 和 SN02 测站相对于 SN01 测站的载噪比差值

cnrdiff SN01001a.24O SN02001a.24O SN04001a.24O

自定义参数

基于卫星系统计算载噪比差值 b - a,并将输出保存到文件里

cnrdiff --ftype RTCM3_MSM4 a.bin b.bin --by-sys > result.txt

平均值算法

基本假设

  1. 各测站观测数据正常记录,无历元缺失,无事件干扰
  2. 各测站观测数据时间同步,起止时间尽量一致
  3. 各测站观测数据历元间隔不超过 1s,实际按 1s 间隔处理

基于卫星号(默认)

运行过程中所产生的 CNR 二进制文件是一个 SQLite 数据库文件,存储逐一历元逐一卫星逐一频点下的载噪比

  1. 先对各卫星全历元求各频点平均,得到以卫星号和频点作为行列的数据表
  2. 再对各测站数据表进行对齐后做差,得到以卫星号+频点和测站(数据文件名)作为行列的数据表

基于卫星系统

从卫星号中提取卫星系统,作为新的维度

  1. 先对各卫星系统全卫星全历元求各频点平均(等价于各卫星根据历元数加权平均),得到以卫星系统和频点作为行列的数据表
  2. 再对各测站数据表进行对齐后做差,得到以卫星系统+频点和测站(数据文件名)作为行列的数据表

许可证

MIT

作者及贡献名单

Lead Programmer: Sheng Guoliang shengguoliang@sinognss.com

Contributors:

Metadata

Release files for cnrdiff 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cnrdiff 2.1.2
File Size Uploaded
cnrdiff-2.1.2.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cnrdiff 2.1.2
File Interpreter ABI Platform
cnrdiff-2.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / cnrdiff-2.1.2.tar.gz

Download URL cnrdiff-2.1.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b5cec51bd8e0077ac636c75adf82711e1fdfa43c2bb55c6017b07da956635cd6
BLAKE2b-256 checksum
How to use checksums
492156f6395eb553f101807d76f5dc2476820d9d37976e3975b76b8f586ea27c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / cnrdiff-2.1.2-py3-none-any.whl

Download URL cnrdiff-2.1.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cb5a824944652747dde1fb76c8741463d130fc7fb90cc561784f994fd198130
BLAKE2b-256 checksum
How to use checksums
0b7232ac0546a2ca772942135359f72f4762bcda4278e08b8211693bd4ea20cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release history Release notifications | RSS feed

2.2.0

2 release files

This release

2.1.2 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page