ardg-nrao / plumber Goto Github PK
View Code? Open in Web Editor NEWImage plane polarization leakage correction for radio interferometers
License: MIT License
Image plane polarization leakage correction for radio interferometers
License: MIT License
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.
Crashes here: https://github.com/ARDG-NRAO/plumber/blob/master/plumber/image.py#L46
I think it needs to be _stokes_data
i.e. with leading underscore.
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.
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.
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.
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.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.