Skip to content

Commit

Permalink
removed an old test line
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfriedMercier committed Feb 3, 2022
1 parent 2363afc commit 10dbdde
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ def _LePhareTableFactory(self, cleanMethod: CleanMethod = CleanMethod.ZERO, scal
# Clean and add noise to variance map
data, var = self.cleanAndNoise(filt.data, filt.var, self.mask, cleanMethod=cleanMethod, texp=filt.texp, texpFac=texpFac)

test = np.sqrt(var)/data
print(test[~np.isnan(test)])

# Scale data to have compatible values with LePhare for the flux
data, var = self.scale(data, var, meanMap, factor=scaleFactor)

Expand Down

0 comments on commit 10dbdde

Please sign in to comment.