Skip to content

Commit

Permalink
Merge pull request spacetelescope#893 from rcooper295/match_data_ami
Browse files Browse the repository at this point in the history
Use MASK_NRM to match AMI data
  • Loading branch information
obi-wan76 authored Jul 31, 2024
2 parents d4e4ea3 + 350f65e commit e22c3b1
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 e22c3b1

Please sign in to comment.