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.2.tar.gz (83.4 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.2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skarabina-0.2.2.tar.gz
  • Upload date:
  • Size: 83.4 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.2.tar.gz
Algorithm Hash digest
SHA256 1d809cd17e697ddb12d5e7713064d6eb2529361f3b3d0809e33a10b806745321
MD5 f29c27de7a6a46f25b931253f2cfb105
BLAKE2b-256 1e59876d864c30142a309deb073a46f89c744aab1b68dc237b9fb968a58b1ea9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: skarabina-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a80ea4146533b6763ee5611a679dea41d8ac574c95796a301b3327393e963cd4
MD5 e0cb5ee7d7d24b744511c98c37cab518
BLAKE2b-256 a6eb786bc21e3e6fef39efc9e934dd5937c4e997313ba0cfbfd7f9ed0a748f48

See more details on using hashes here.

Provenance

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