Skip to content

Commit

Permalink
fix coadd
Browse files Browse the repository at this point in the history
  • Loading branch information
Waelthus committed Feb 21, 2022
1 parent beeff76 commit 3d96874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/picca/delta_extraction/astronomical_objects/pk1d_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ def rebin(self):
"""
bins, rebin_ivar, orig_ivar, w1, w2 = super().rebin()
if len(rebin_ivar) == 0:
self.exposures_diff = np.array([])
self.reso = np.array([])
return [], [], [], [], []

# apply mask due to cuts in bin
Expand Down

0 comments on commit 3d96874

Please sign in to comment.