Unexpected behaviour of align_with_image
Hi, I am using align_with_image to align a co-added image with a single exposure in MUSE. However I am a bit puzzled with its behaviour relative to what is described in the manual.
My command is:
im_aligned = im_coadd.align_with_image(im_one)
I run this using jupyter under Anaconda python 2.7 and the latest git version (v2.3. dev).
This works perfectly fine the first time I use it, but when I run the command again, it returns an image filled with zeros and the original image I also realised is filled with zeros where I extracted an image.
What surprised me was that with the way the documentation is written it seems that as long as inplace was set to False I should not have any impact on my input image but that does not seem to be the case. It would be nice if inplace=False meant that im_coadd (in my case) is not modified. Of course I can create copies but that wasn't what I expected to need from the documentation.
Cheers, Jarle.