Closed sidneymau closed 6 months ago
@sidneymau This has been dormant for a couple months now. Did you want to try to finish it, or should we abandon this effort?
Thanks for bumping this—I'm happy to consider this abandoned for now and have the PR closed and the branch pruned. I may pick it up again when I have more time, but I don't expect that to be any time soon.
(Duplicate of https://github.com/GalSim-developers/GalSim/pull/1273 due to rebasing/etc.) This pull request addresses https://github.com/GalSim-developers/GalSim/issues/1272 by defining a setter for the Image.array attribute. This protects against any case where a user does an inplace operation on the image array attribute in an interactive environment: without the setter, this would raise an error while still performing the operation, leading to some confusion. This change also obviates the need to operate on a view of the underling array; e.g., instead of
we can now do