Skip to main content

Radio astronomy data continuum subtraction tools

Project description

contsub

Image-Plane continuum subtraction for FITS cubes

Installation

pip install git+https://github.com/laduma-dev/contsub.git

Documentation

Usage: imcontsub [OPTIONS] INPUT_IMAGE

Options:
  --version                       Show the version and exit.
  --order TEXT                    Order of spline. If given as a list of size
                                  N, then N iterations will be perfomed.
  --segments TEXT                 Width of spline segments in km/s. If given
                                  as a list, then it must have same sixe as
                                  --order.
  --output-prefix PATH            Name of ouput image
  --mask-image PATH               Mask image
  --sigma-clip TEXT               Sigma clip for each iteration. Only required
                                  if mask-image is not given.
  --fit-model [polyn|spline|dct]
  --overwrite / --no-overwrite    Overwrite output image if it already exists
  --stokes-axis / --no-stokes-axis
                                  Set this flag if the input image has a
                                  stokes dimension. (Default is True).
  --help                          Show this message and exit.

Specifiy the list options (--order, sigma-clip, etc.,) using square brackets. For example

imcontsub --order [3,3] --segments [400,350] --sigma-clip [5,5] --mask-image fornax_lw13-cube_mask.fits fornax_lw13-cube_data.fits

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

contsub-1.0.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

contsub-1.0.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file contsub-1.0.0.tar.gz.

File metadata

  • Download URL: contsub-1.0.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-60-generic

File hashes

Hashes for contsub-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cb11cc3cc1d68dc563a443eeff2b92477dc599b4993327ef695a13eb0f3d2de3
MD5 6ee87f5cdacf59de936e826c69fe567c
BLAKE2b-256 fc71ac01d51656a49c5314029875452ab85288e64cf6e71f8014c21599e1b336

See more details on using hashes here.

File details

Details for the file contsub-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: contsub-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-60-generic

File hashes

Hashes for contsub-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad53c0932ca8f4c967b580e23b884b0a4d8bb485259822826dd3ecc78b82885
MD5 46325b052bf155062e5147c4d11312b2
BLAKE2b-256 2d9b96334cc778275d46e1eed11b9e42428dd49a6d7b35fa62b1a63459c3798d

See more details on using hashes here.

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