Python script for interpolating FITS model images over frequency
Project description
smops - (aka Smooth Operator) is a python package for interpolating channelised FITS model images over larger user-specified frequency channesl. i.e if you give smops 4 channel model fits images, it will return 16 model images. For example:
smops --ms /ms/used/togen/images.ms -ip prefix-used-for-those-images -co 16 -order 4
Its options are:
usage: smops [-h] [-od] [-nthreads] [-stokes] [-mem] --ms -ip -co [-order]
Refine model images in frequency
optional arguments:
-h, --help show this help message and exit
-od , --output-dir Where to put the output files.
-nthreads Number of threads to use while writing out images
-stokes Which stokes model to extrapolate. Write as single string e.g IQUV. Required when there are multiple Stokes
images in a directory. Default 'I'.
-mem , --max-mem Approximate memory cap in GB
Required arguments:
--ms Input MS. Used for getting reference frequency
-ip , --input-prefix
The input image prefix. The same as the one used for wsclean
-co , --channels-out
Number of channels to generate out
-order , --polynomial-order
Order of the spectral polynomial
Free software: MIT license
Credits
This package is a brain child of @o-smirnov x @landmanbester and is under @ratt-ru.
It was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
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
smops-0.1.1.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file smops-0.1.1.tar.gz
.
File metadata
- Download URL: smops-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a833bb6ec36d914f91ffe4b06f280f50a556d8f40054b777625a073f849bb59c |
|
MD5 | 2a8d14da174f38f6298d902f230d4ac2 |
|
BLAKE2b-256 | 876cd29baa8df07a4bb2768a2892a8263f6ed28b43dce70555a73cf8f20caf3d |
File details
Details for the file smops-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: smops-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d1e875e2542ca053fdb4d94b2b53f436ebd2113cf22b82bf460731099d3360 |
|
MD5 | c871d3f8685b68e6350d67943c10c589 |
|
BLAKE2b-256 | 191b62f909bd731c5792b941c128c661accb319d741e3d313ac97ca212f873a8 |