Sidney Mau
Sidney Mau
Here's my understanding—do feel free to correct me. I think this is because `array` is made a property of `Image` via the `@property` decorator, so no `__setter__` is defined. However,...
Yes, I agree it is easy to avoid this problem. I mostly raised this issue because I ran into a situation where I forgot to make the view of the...
While testing, I've also found that ``` image = galsim.Image(np.zeros((2, 2))) image += 1 np.testing.assert_array_equal(image.array, np.ones((2, 2))) ``` also works fine. Will still submit a pull request to prevent the...
Surprising in the sense that I don't recall having seen it documented. I always assumed that operations of the array values of an image had to happen on the underlying...
I must have made a typo when checking this last night! Here is what I see: ``` >>> coadd_wcs galsim.GSFitsWCS(_data = ['TAN', array([5000.5, 5000.5]), array([[-7.305555555556e-05, 0.0], [0.0, 7.305555555556e-05]]), coord.CelestialCoord(coord.Angle(1.0591757458530349, coord.radians),...
`.cprix` is also available, but maybe it's enough to know that it exists? ``` >>> coadd_wcs.crpix array([5000.5, 5000.5]) ```
Reproducing my comments in Slack here. > Some brief observations following the last two days: > - A lot of the students already have a decent level of computer literacy...
(This just occurred to me after making the DVS slide for the NERSC Sprint :sweat_smile:)
``` hdf = h5py.File(filename, locking=False) ``` works for reading hdf5 files over dvs
One thought would be to do a fractional fourier transform on these objects to draw them out of focus. This might take some work to implement, however (particularly computing the...