Radio astronomy data continuum subtraction tools
Project description
contsub
Image-Plane continuum subtraction for FITS cubes
Installation
PyPI (stable; recommended)
pip install contsub
Latest (in development)
pip install git+https://github.com/laduma-dev/contsub.git
Documentation
Usage: imcontsub [OPTIONS] File
Options:
--version Show the version and exit.
--order int,int,... Order of spline. If given as a list of size
N, then N iterations will be perfomed.
--segments float,float,... Width of spline segments in km/s. If given
as a list, then it must have same sixe as
--order.
--output-prefix str Name of ouput image
--mask-image File Mask image
--sigma-clip float,float,... Sigma clip for each iteration. Only required
if mask-image is not given.
--fit-model str Fit function to model the continuum. ** Only
the spline is available in this version **.
--cont-fit-tol float Minimum perentage of valid spectrum data
points required to do a fit. Spectra below
this tolerance will be set to NaN. Leaving
this unset may result in poor or NaN spectra
in the output cubes
--overwrite / --no-overwrite Overwrite output image if it already exists
--stokes-index int ### NOT IMPLEMENTED. Stokes index 0 is
assumed ### Index of stokes channel (zero-
based) to use.
--stokes-axis / --no-stokes-axis
### DEPRECATED #### Set this flag if the
input image has a stokes dimension. (Default
is True).
--ra-chunks int Chunking along RA-axis. If set to zero, no
Chunking is perfomed.
--nworkers int Number of workers (one per CPU)
--help Show this message and exit.
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.2.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
contsub-1.0.2-py3-none-any.whl
(15.4 kB
view details)
File details
Details for the file contsub-1.0.2.tar.gz.
File metadata
- Download URL: contsub-1.0.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8be25ee5576b3e1968fa02c0401a57951aeba8eec90857492996936bf83929
|
|
| MD5 |
ca031c8c4cbf19cd9318315fd51dbeb0
|
|
| BLAKE2b-256 |
fe8f29bcbcca3d1f54ab5f89325b4e32bab987d8b128c25fb90efe24efd57c95
|
File details
Details for the file contsub-1.0.2-py3-none-any.whl.
File metadata
- Download URL: contsub-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cded7b48e542fb94fe2afe461a1e7dca27c4425f245db92d87d4b0aa3905998b
|
|
| MD5 |
6f54490a2f55ed370ffdc1938e481199
|
|
| BLAKE2b-256 |
be91666a884af8dbaa152970859bc1112d76a380c90142c38aeb5844ead8fa76
|