Skip to content

Commit

Permalink
ref pixel mask border fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed Jan 23, 2020
1 parent eb8209f commit 9112faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynrc/simul/ngNRC.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ def get_ipc_kernel(imdark, tint, boxsize=5, nchans=4, bg_remove=True,
# Get rid of pixels around border
pixmask = ((imtemp>hotcut[0]) & (imtemp<hotcut[1]))
pixmask[0:4+boxhalf, :] = False
pixmask[-4-boxhalf, :] = False
pixmask[-4-boxhalf:, :] = False
pixmask[:, 0:4+boxhalf] = False
pixmask[:, -4-boxhalf] = False
pixmask[:, -4-boxhalf:] = False

# Ignore borders between amplifiers
for ch in range(1, nchans):
Expand Down

0 comments on commit 9112faf

Please sign in to comment.