Skip to content

Commit

Permalink
Add type conversion back in for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonbb committed Mar 19, 2024
1 parent 3af3753 commit f51d4c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kbmod/standardizers/butler_standardizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,5 +338,6 @@ def toLayeredImage(self):

imgs = []
for sci, var, mask, psf, t in zip(sciences, variances, masks, psfs, mjds):
mask = mask.astype(np.float32)
imgs.append(LayeredImage(RawImage(sci, t), RawImage(var, t), RawImage(mask, t), psf))
return imgs

0 comments on commit f51d4c6

Please sign in to comment.