Giter Site home page Giter Site logo

smops's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.