Python module to access Measurement Sets' quality statistics produced by aoflagger, aoquality or DPPP.
Project description
aoquality
aoquality reads and analyses the Measurement Set quality statistics
produced by AOFlagger, aoquality, or
DP3.
It provides a small Python API over the three AOQuality table types (baseline,
frequency, and time statistics) — reading a single Measurement Set or combining
many — and a command-line tool, aostats, for diagnostic plots and outlier
detection across many observations.
Documentation: https://pyaoquality.readthedocs.io
Installation
pip install aoquality
Requires Python ≥ 3.8.
Quick start
Python API:
import aoquality
bl = aoquality.BaselineStat('obs.MS')
ant_names, ant_stats = bl.get_antenna_stat('SNR') # (n_ant,), (n_ant, n_pol)
Command line:
aostats plot obs.MS SNR -o stat_snr # single-MS diagnostic plots
aostats plot-grid obs1/ obs2/ obs3/ SNR # multi-observation grids
aostats find-bad-stations *.qs SNR -o bad.json # flag outlier antennas
See the documentation for the full Python
API, usage guide, and aostats command-line reference.
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 aoquality-0.3.0.tar.gz.
File metadata
- Download URL: aoquality-0.3.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.10.14 Linux/7.0.0-22-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bab533f9180ee85977f8f2e2e30974a879d8d4e646c282174ac692de69913f1
|
|
| MD5 |
ab15f171379a9f9dc656d5365567b5a7
|
|
| BLAKE2b-256 |
0b6d9567e42929a7036f3c9ab9adad7aa3d68cf05a8fce50626e213df694641a
|
File details
Details for the file aoquality-0.3.0-py3-none-any.whl.
File metadata
- Download URL: aoquality-0.3.0-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.10.14 Linux/7.0.0-22-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a37d9a7ab943b579f18649bfee02859f121822411411db96b102bfda8dafb6e
|
|
| MD5 |
248b747f6ec22349625a33d88286056e
|
|
| BLAKE2b-256 |
75ec4bd77cf82bf8660ab40bfd01d395d49b5886a391a61e8cf45636fb13177b
|