Skarabina
=, .=
=.| ,---. |.=
=.| "-(:::::)-" |.=
\\__/`-.|.-'\__//
`-| .::| .::|-' Pillendreher
_|`-._|_.-'|_ (Scarabaeus sacer)
/.-| | .::|-.\
// ,| .::|::::|. \\
|| //\::::|::' /\\ ||
/'\|| `.__|__.' ||/'\
^ \\ // ^
/'\ /'\
^ ^
skarabina: a basic 1GC radio astronomy RFI flagger
Author: Tim Molteno (tim@elec.ac.nz)
Intended to reduce I/O costs by performing the standard flagging during 1GC efficiently, and with low memory requirements. Skarabina can also do averaging to reduce data volume, and measurement set analysis to recommend image size.
Documentation
See doc/ for full documentation:
Install
pip install skarabina
See INSTALL.md for detailed instructions, including aarch64 / NVIDIA DGX Spark setup.
Quick start
# Flag and clean
skarabina --ms raw.ms --flag-nan --flag-uv-above 4000 \
--time-average-factor 3 --optimize --msout clean.ms --clobber
# Keep a subset of scans, then average
skarabina --ms raw.ms --scan 1,12,14 --flag-nan \
--frequency-average-factor 8 --msout kept.ms --clobber
# Analyze
skarabina-analyze --ms raw.ms --image-fov 2.5
Build
Install uv, then:
uv sync
uv build
Stimela
_include:
- (skarabina_cargo):
- skarabina.yml
my-recipe:
info: "Print a flagging summary using skarabina"
inputs:
ms: MS
steps:
flag-summary:
cab: skarabina
params:
ms: =recipe.ms
summary: true
Release files for skarabina 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| skarabina-0.8.1.tar.gz | 145.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| skarabina-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 179.9 kB
Release files / skarabina-0.8.1.tar.gz
| Download URL | skarabina-0.8.1.tar.gz |
|---|---|
| Size | 145.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6810ada2025bece0ea3de54dcb06dbdaf3307cbd40f9e681c879274f9f84117
|
|
BLAKE2b-256 checksum How to use checksums |
cf5b48d8e2493b89e35a5ad69a2e999caf8fbff2bceded0bda07794c7cb5e0bc
|
| 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 Sep 11, 2026.
Transparency logRelease files / skarabina-0.8.1-py3-none-any.whl
| Download URL | skarabina-0.8.1-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a33d3349c3ab2aafef3706da64389acf0bf7f1fb569c9e8f89da2f8c47b8084e
|
|
BLAKE2b-256 checksum How to use checksums |
bbb9a4cb37a00db2f0f002e3ba1985293d56ccc43e798ab9abb7305fed3aa386
|
| 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 Sep 11, 2026.
Transparency log