Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puzzling behavior of matched apertures #219

Open
wants to merge 1 commit into
base: siaf-updates
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion generate/generate_nircam.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@
aperture = tools.match_v2v3(copy.deepcopy(LW_aperture), copy.deepcopy(aperture),
verbose=False, match_v2_only=True)

# update the rest of the aperture attributes after changing its poistion to match the LW aperture
aperture = tools.set_reference_point_and_distortion(instrument, aperture, master_aperture)


aperture.complement()

aperture_dict[AperName] = aperture
Expand Down Expand Up @@ -412,7 +416,7 @@
# 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.11)
test_aperture.test_jwst_aperture_transforms([pre_delivery_siaf], verbose=False, threshold=0.2)
print('\nRunning aperture_vertices test for pre_delivery_siaf')
test_aperture.test_jwst_aperture_vertices([pre_delivery_siaf])

Expand Down