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.4.tar.gz (83.8 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.4-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skarabina-0.2.4.tar.gz
  • Upload date:
  • Size: 83.8 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.4.tar.gz
Algorithm Hash digest
SHA256 9494bdfc6b76c94dd6e0315a472d3cf1b5460a3eb6baeaf29807d721937559bb
MD5 30a22e413db0dfe33499c351086d74f2
BLAKE2b-256 dd51fde551e5cf148d3841102aad3611c51ce57a3c2c053056a5ea6addf1772d

See more details on using hashes here.

Provenance

The following attestation bundles were made for skarabina-0.2.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: skarabina-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e80e8bb1f1624854797323021b09c690ceec9ce2d3bdca11fe6b28184a6c715
MD5 5873a4a96fe9667625d21652b58daaec
BLAKE2b-256 c0c1a463f95bdb3c6f902476056381282bf83b2b958fbe665e595c53b8e94f0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for skarabina-0.2.4-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