Skip to content

Commit

Permalink
last diff didn't commit properly?
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Feb 14, 2025
1 parent 1e41bce commit 1a70bd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/11_allsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ def main():
continue
if len(axes_to_average):
data = np.mean(data, axis=(*axes_to_average,))
for ax in sorted(axes_to_average, reverse=True):
wcs = wcs.dropaxis(ax)

# With WCS we can write the image to FITS
hdu = fits.PrimaryHDU(header=wcs.to_header(), data=np.abs(data))
Expand Down

0 comments on commit 1a70bd7

Please sign in to comment.