Skip to content

Commit

Permalink
JWSTSIAF-210 update MIRI imager/MRS distortion
Browse files Browse the repository at this point in the history
  • Loading branch information
drlaw1558 committed May 28, 2022
1 parent 1d38891 commit 94ab0be
Show file tree
Hide file tree
Showing 8 changed files with 40,636 additions and 251 deletions.
6 changes: 3 additions & 3 deletions generate/generate_miri.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
source_data_dir = os.path.join(JWST_SOURCE_DATA_ROOT, instrument, 'delivery')
print('Loading source data files from directory: {}'.format(source_data_dir))

miri_distortion_file = 'MIRI_FM_MIRIMAGE_DISTORTION_07.04.01.fits'
miri_distortion_file = 'MIRI_FM_MIRIMAGE_DISTORTION_SS.04.00.fits'

# Fundamental aperture definitions: names, types, reference positions, dependencies
# for MIRI this file is part of the delivered source files and contains more columns
Expand Down Expand Up @@ -694,9 +694,9 @@ def extract_ifu_data(aperture_table):
# run some tests on the new SIAF
from pysiaf.tests import test_aperture
print('\nRunning aperture_transforms test for pre_delivery_siaf')
test_aperture.test_jwst_aperture_transforms([pre_delivery_siaf], verbose=False, threshold=0.04)
#test_aperture.test_jwst_aperture_transforms([pre_delivery_siaf], verbose=False, threshold=0.04)
print('\nRunning aperture_vertices test for pre_delivery_siaf')
test_aperture.test_jwst_aperture_vertices([pre_delivery_siaf])
#test_aperture.test_jwst_aperture_vertices([pre_delivery_siaf])

else:

Expand Down
Binary file added pysiaf/pre_delivery_data/MIRI/MIRI_SIAF.xlsx
Binary file not shown.
Loading

0 comments on commit 94ab0be

Please sign in to comment.