smops
smops (aka Smooth Operator) is a python package for interpolating channelised FITS model images onto user-specified higher resolution frequency grid. For example, you can give smops a set of 4 per-subband model FITS images, and ask it to return 16 model images, which can then be fed back into e.g. wsclean for a predict operation. Usage:
smops --ms /ms/used/togen/images.ms -ip prefix-used-for-those-images -co 16 -order 4
Its options are:
usage: smops [-h] [-v] [-op] [-j] [-s] [-mem] -ms -ip -co [-order]
Refine model images in frequency
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-op , --output-prefix
What to prefix the new interpolated model name with.
-j , --num-threads Number of threads to use while writing out output images
-s , --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 , --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.
Metadata
Release files for smops 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smops-0.1.7.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smops-0.1.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 20.5 kB
Release files / smops-0.1.7.tar.gz
| Download URL | smops-0.1.7.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
303bad78bf5a89daf75b588efbfd50553002d8a586e188cd347449dc3f2e4933
|
|
BLAKE2b-256 checksum How to use checksums |
d76fc6f639f2c64ec6b74d203e76c557c784b751c926b95914844e01e267f7d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / smops-0.1.7-py2.py3-none-any.whl
| Download URL | smops-0.1.7-py2.py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7b49a8149a5e54699514d7ddaf24cb1795c9107ce1298e9227a32a445944a9bc
|
|
BLAKE2b-256 checksum How to use checksums |
aa10ed427577217c7aa4ea4c82258ac9ab6c32a83388c706f92dbfc423587374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|