Coder Social home page Coder Social logo

plumber's People

Contributors

alecthomson avatar kitchi avatar parthadeka avatar preshanth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

plumber's Issues

Test Framework and Sample test image

I think we should create a simple PB along the lines of having one zernike term in it that we can generate and then test against. This needs to happen after we finish #1 . I am thinking a simple pytest framework setup.

Use parallactic angle compute from within casa.

CASA has built in functions to generate the hour angle latitude and time of observation from which we can derive the parallactic angle. The goal is to be able to compare it with the astropy method which is producing an offset with the parang generated within the casa c++ code.

Plumber crashes when input image has > 1 Stokes plane

When the input image (currently only single freq images work) has > 1 Stokes plane plumber crashes. The default behaviour so far has been for plumber to read in a single plane Stokes image and generate 4 separate images containing the Stokes -I, -Q, -U, -V beams respectively.

The idea is now to generate a Stokes cube if the input image is also a Stokes cube.

Switch to using spectral-cube

plumber currently uses CASA 6 and the CASA toolkit to read and write the input images. Switch to using spectral-cube for the IO.

This also opens up the ability to more easily generate leakage cubes, rather than only single frequency images.

Weighted parang averaging

Plumber currently does a linear averaging over the given parallactic angle range. This is not reflective of real observations, since parallactic angle is not a linear function of HA.

Implement a switch in scripts/parang_finder.py to output a file with a list of parallactic angles and associated weights, so scripts/plumber.py can perform more accurate averaging.

Issues encountered with the latest version

As the Plumber-data repository is updated now, I tried installing the recent version of Plumber by cloning the Git repository to a local area and then performing "python setup.py install". The installation reports no error, but when I run it, e.g., parang_finder on an MS to find the parallactic angles, it returns angle values which are completely different from what was returned by the older version of Plumber. In addition, the telescope name is now returned as 'M', whereas earlier it used to be 'MeerKAT'. The position of the telescope is also now different from the stored value in the MS which we checked using msmd() task in CASA. Earlier this position value was reported to be the same as in the MS. Here are some screenshots of running older vs newer version of Plumber on an MS. First image is from running the older version, whereas second one is from the newer version.
older_version_parang_finder
new_version_parang_finder

Logging doesn't write to file

The logging prints to console at the moment, but it does not write the logs into the default logfile. There is also no way to specify a custom name/path for a logfile.

ZernikePolyCalc speed up

Moving the zernike polynomial generation to C++ . The python wrapping is done using pybind11. The goal here is to speed up the production of the convolution function grid to optionally then produce convolution function for gridding directly from plumber.

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.