Skip to content

Commit

Permalink
Use MASK_NRM to match AMI data
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooper295 committed Jul 31, 2024
1 parent d4e4ea3 commit 350f65e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webbpsf/match_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def setup_sim_to_match_file(filename_or_HDUList, verbose=True, plot=False, choic
if header['APERNAME'] == 'MIRIM_SLIT':
inst.image_mask = 'LRS slit'

elif inst.name == 'NIRISS':
if header['PUPIL'] == 'NRM': # else could be CLEARP for KPI observations
inst.pupil_mask = 'MASK_NRM'

# TODO add other per-instrument keyword checks

if verbose:
Expand Down

0 comments on commit 350f65e

Please sign in to comment.