Skip to main content

Skarabina (dungbeetle): An all purpose 1GC flagger

Project description

Skarabina

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 is named after the latin name Skarabinae, the genus of many interesting beetles (uncluding the dungbeetle) in Africa.

Install

pip install skarabina

Usage

Barber flagging

Generate a report (in the style of barber).

skarabina --ms foo.ms --barber

Clip and Nan Flagging

This will flag a measurement set, and modify it in-place.

skarabina --ms test.ms --flag-nan --flag-clip [0,100] --apply --clobber

The following will write a new measurement set.

skarabina --ms test.ms --flag-nan --flag-clip [0,100] --apply --clobber --msout bar.ms

Build

Install uv, then sync the project (creates a virtual environment and installs skarabina in editable mode):

uv sync

Build distributables:

uv build

Stimela

skarabina is available as a stimela package. You can include it in your pipeline (after installing skarabina) thusly

_include:
    - (skarabina):
        - skarabina.yml
        
my-recpipe:
    info: "Print a flagging summary using skarabina"
    inputs:
        ms: MS

    steps:
        flag-summary:
            cab: skarabina
            params:
                ms: =recipe.ms
                summary: true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skarabina-0.2.3.tar.gz (83.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skarabina-0.2.3-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file skarabina-0.2.3.tar.gz.

File metadata

  • Download URL: skarabina-0.2.3.tar.gz
  • Upload date:
  • Size: 83.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skarabina-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a7be69ad9bf25c560b776811e69115cd4181ffe368b169bb81c48355c0969121
MD5 daa1f11b1f7a15e68c2be70c197d92c5
BLAKE2b-256 33f7c49c09c6d8edc4e2aa97028241ba5d4d3c38eca1d255a43809716af794b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for skarabina-0.2.3.tar.gz:

Publisher: deploy_module.yaml on tmolteno/skarabina

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skarabina-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: skarabina-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skarabina-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6abe5ded634545afa3ed75b5ce4a32d614ada6fc1220a481797e9fcd5e412ac
MD5 50fb9ca7efdc3b90278e83ad69d553dc
BLAKE2b-256 4bc1969c87acfa3c8d0a6a77cb1e06d786c71406a327f079ec5dd41807b6e474

See more details on using hashes here.

Provenance

The following attestation bundles were made for skarabina-0.2.3-py3-none-any.whl:

Publisher: deploy_module.yaml on tmolteno/skarabina

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page