casacore / python-casacore

Python bindings for casacore, a library used in radio astronomy
http://casacore.github.io/python-casacore
GNU Lesser General Public License v3.0
35 stars 22 forks source link

Create new casacore images results in empty pixel unit #210

Open rstofi opened 4 years ago

rstofi commented 4 years ago

When I create an image from a NumPy array and coordinates object, the pixel units are missing, and I can't find a way to add (or change) pixel units in the images module.

I can go around this by opening an image as a table and add the units keyword with the corresponding value, but it seems to be a non-optimal solution.

Is it possible to add a putunit() functionality to the images module?