Metadata-Version: 2.1
Name: smops
Version: 0.1.1
Summary: Python script for interpolating FITS model images over frequency
Home-page: https://github.com/mulan-94/smops
Author: L. Andati
License: MIT license
Keywords: smops,model frequency interpolation,FITS images
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10

=====
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 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:

.. 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] [-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.

.. _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
