Utility methods for reasoning about Measurement Set v4 Datasets
Project description
msv4-utils
Lightweight utilities for reasoning about Measurement Set v4. Core functionality depends only on the Python standard library.
Installation
pip install msv4-utils
Usage
Infer the MSv4 backend from a URI
from msv4_utils import infer_backend, MSv4Backend
backend = infer_backend("/path/to/data.ms")
if backend == MSv4Backend.CASA_TABLE:
# open with xarray-ms
...
elif backend == MSv4Backend.ZARR:
# open with xarray
...
elif backend == MSv4Backend.MEERKAT:
# open with xarray-kat
...
MSv4 type constants
from msv4_utils.msv4_types import VISIBILITY_XDS_TYPES
xds_type = xds.attrs["type"]
if xds_type in VISIBILITY_XDS_TYPES:
print("interferometric data")
Development
uv sync
uv run pytest tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file msv4_utils-0.0.3.tar.gz.
File metadata
- Download URL: msv4_utils-0.0.3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
681363c0e79454536ca748f4235b4b91cd0768433294b7c47575a1c0567d64ac
|
|
| MD5 |
c70e5b46d97fdd165820149437a27c74
|
|
| BLAKE2b-256 |
ca8533638b948df2a5b115a955c67be0845cac532bef711a178060cf2d08883e
|
Provenance
The following attestation bundles were made for msv4_utils-0.0.3.tar.gz:
Publisher:
ci.yml on ratt-ru/msv4-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msv4_utils-0.0.3.tar.gz -
Subject digest:
681363c0e79454536ca748f4235b4b91cd0768433294b7c47575a1c0567d64ac - Sigstore transparency entry: 1579132847
- Sigstore integration time:
-
Permalink:
ratt-ru/msv4-utils@3ad8dbfcdb2edbb7341c58b9e68039833697afb4 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ratt-ru
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3ad8dbfcdb2edbb7341c58b9e68039833697afb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file msv4_utils-0.0.3-py3-none-any.whl.
File metadata
- Download URL: msv4_utils-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522e902cb5b8b322bad25d7434e7ffbc14e0e687dcb7ca23113c872305bd4efb
|
|
| MD5 |
d0bcd6ebbd8f7defa2314c92aa24e31d
|
|
| BLAKE2b-256 |
cbc54eea0ca3fff078dabfbfa11fdf90b8578db62ac66186b1d599ce2f772171
|
Provenance
The following attestation bundles were made for msv4_utils-0.0.3-py3-none-any.whl:
Publisher:
ci.yml on ratt-ru/msv4-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msv4_utils-0.0.3-py3-none-any.whl -
Subject digest:
522e902cb5b8b322bad25d7434e7ffbc14e0e687dcb7ca23113c872305bd4efb - Sigstore transparency entry: 1579132995
- Sigstore integration time:
-
Permalink:
ratt-ru/msv4-utils@3ad8dbfcdb2edbb7341c58b9e68039833697afb4 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ratt-ru
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3ad8dbfcdb2edbb7341c58b9e68039833697afb4 -
Trigger Event:
push
-
Statement type: