astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

real data #14

Closed mdavezac closed 9 years ago

mdavezac commented 9 years ago

This PR contains changes passes on weights from a casa measurement set to purify. Under the hood, the weights are taken from the SIGMA column and transformed as $w=1/\sigma$.

With pyrap wrappers.

import numpy as np
from purify.pyrap import purify_measurement_set
purify_measurement_set("ms.ms/", "image.out")

It should work similarly from casa:

import numpy as np
from purify.casa import purify_measurement_set
purify_measurement_set("ms.ms/", "image.out")