You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/spherex/spherex_psf.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,8 +186,14 @@ We have already loaded their data as well as their header.
186
186
psfcube.shape
187
187
```
188
188
189
-
The shape of the `psfcube` is (121,101,101).
190
-
This corresponds to a grid of 11x11 PSFs across the image, each of them of the size 101x101 pixels.
189
+
The shape of the `psfcube` is output above.
190
+
In the QR-2 data, the shape is (121,101,101), which corresponds to a grid of 11x11 PSF zones across the image.
191
+
192
+
```{note}
193
+
The number of PSF zones may change in later versions of data products.
194
+
```
195
+
196
+
Each PSF has a size of 101x101 pixels.
191
197
192
198
```{note}
193
199
Remember that the PSFs are oversampled by a factor of 10.
@@ -203,11 +209,11 @@ psf_header[0:30]
203
209
```
204
210
205
211
We confirm that the oversampling factor (`OVERSAMP`) is 10.
206
-
The PSFs are distributed in an even grid with 11x11 zones.
207
-
Each of the 121 PSFs is responsible for one of these zones.
212
+
The PSFs are distributed in an even grid with NxM zones (in QR-2 data products it is N=M=11).
213
+
Each of the NxM PSFs is responsible for one of these zones.
208
214
The PSF header therefore includes the center position of these zones as well as the width of the zones.
209
-
These center coordinate are specified with `XCTR_i` and `YCTR_i`, respectively, where i = 1...121.
210
-
The widths are specified with `XWID_i` and `YWID_i`, respectively, where again i = 1...121.
215
+
These center coordinate are specified with `XCTR_i` and `YCTR_i`, respectively, where i = 1...(NxM).
216
+
The widths are specified with `XWID_i` and `YWID_i`, respectively, where again i = 1...(NxM).
211
217
The zones have approximately equal widths and are arranged in an even grid.
212
218
The size of the zones is sufficient to capture well the changes of the PSF size and structure with wavelength and spatial coordinates.
213
219
@@ -216,7 +222,7 @@ The goal of this tutorial now is to find the PSF corresponding to our input coor
216
222
+++
217
223
218
224
```{warning}
219
-
In the SPHEREx spectral image versions prior or equal to 6.5.5, there was a missmatch between the spatial layout of the PSF zones and the the indexing of the PSF zones in the image header. This has now been fixed in versions post 6.5.5.
225
+
In the SPHEREx spectral image versions prior or equal to 6.5.5, there was a missmatch between the spatial layout of the PSF zones and the the indexing of the PSF zones in the image header. This has now been fixed in versions 6.5.6 and beyond.
220
226
221
227
For more information about these changes, see the following webpage: [PSF Erratum](WEBPAGE)
0 commit comments