[lsst-dm-stack-users] image.getArray() question

Robert Lupton the Good rhl at astro.princeton.edu
Mon Feb 10 14:18:16 PST 2014


> An optimal thing would be to allow the other convention by overloading
> __call__, e.g.:
> 
>   img(x, y) = blah

You can write img(x, y)[:] = blah -- this is already useful:
	exp.getMaskedImage().getImage()[:] = 1
works

But on the main topic, there's no consistent answer to the (x, y) v. (y, x) convention question.  Sorry.

							R

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140210/abec1eeb/attachment.sig>


More information about the dm-users mailing list