=====
smops
=====
.. image:: https://img.shields.io/pypi/v/smops.svg
:target: https://pypi.python.org/pypi/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:
.. code-block:: bash
smops --ms /ms/used/togen/images.ms -ip prefix-used-for-those-images -co 16 -order 4
Its options are:
.. code-block:: python
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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`@o-smirnov`: https://github.com/o-smirnov
.. _`@landmanbester`: https://github.com/landmanbester
.. _`@ratt-ru`: https://github.com/ratt-ru
.. _wsclean: https://gitlab.com/aroffringa/wsclean
Raw data
{
"_id": null,
"home_page": "https://github.com/mulan-94/smops",
"name": "smops",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "smops,model frequency interpolation,FITS images",
"author": "L. Andati",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/7f/1b/505327bc93d4220f363ee68afd7b17aaa6e4a83027860236c9d7ed596981/smops-0.1.6.tar.gz",
"platform": null,
"description": "=====\nsmops\n=====\n\n\n.. image:: https://img.shields.io/pypi/v/smops.svg\n :target: https://pypi.python.org/pypi/smops\n\n\nsmops (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:\n\n.. code-block:: bash\n\n smops --ms /ms/used/togen/images.ms -ip prefix-used-for-those-images -co 16 -order 4\n\n\nIts options are:\n\n.. code-block:: python\n\n usage: smops [-h] [-v] [-op] [-j] [-s] [-mem] -ms -ip -co [-order]\n\n Refine model images in frequency\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n -op , --output-prefix \n What to prefix the new interpolated model name with.\n -j , --num-threads Number of threads to use while writing out output images\n -s , --stokes Which stokes model to extrapolate. Write as single string e.g IQUV. Required when there are multiple Stokes\n images in a directory. Default 'I'.\n -mem , --max-mem Approximate memory cap in GB\n\n Required arguments:\n -ms , --ms Input MS. Used for getting reference frequency\n -ip , --input-prefix \n The input image prefix. The same as the one used for wsclean\n -co , --channels-out \n Number of channels to generate out\n -order , --polynomial-order \n Order of the spectral polynomial\n\n\n\n* Free software: MIT license\n\n\n\n\nCredits\n-------\n\nThis package is a brain child of `@o-smirnov`_ x `@landmanbester`_ and is under `@ratt-ru`_.\n\nIt was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _`@o-smirnov`: https://github.com/o-smirnov\n.. _`@landmanbester`: https://github.com/landmanbester\n.. _`@ratt-ru`: https://github.com/ratt-ru\n.. _wsclean: https://gitlab.com/aroffringa/wsclean\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Python script for interpolating FITS model images over frequency",
"version": "0.1.6",
"split_keywords": [
"smops",
"model frequency interpolation",
"fits images"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "37f23fb9fa0f173234cddb23583684a4",
"sha256": "d4c9d2887e351f3747c7913314db7b1ea286e12287da9ac7e7f7739972276d34"
},
"downloads": -1,
"filename": "smops-0.1.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "37f23fb9fa0f173234cddb23583684a4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8732,
"upload_time": "2022-12-16T10:16:16",
"upload_time_iso_8601": "2022-12-16T10:16:16.486147Z",
"url": "https://files.pythonhosted.org/packages/6c/27/a05892aa5ac39ac24f9b4ebf4f22cb3a229818b5936e426aadfd3085f9fc/smops-0.1.6-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "811c364f483ee7309f1a2d116bafa962",
"sha256": "a3ba437971b8af7396122f98e8891742239bb52ec2006460b1db9033963478df"
},
"downloads": -1,
"filename": "smops-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "811c364f483ee7309f1a2d116bafa962",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11614,
"upload_time": "2022-12-16T10:16:18",
"upload_time_iso_8601": "2022-12-16T10:16:18.234249Z",
"url": "https://files.pythonhosted.org/packages/7f/1b/505327bc93d4220f363ee68afd7b17aaa6e4a83027860236c9d7ed596981/smops-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-16 10:16:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "mulan-94",
"github_project": "smops",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "smops"
}