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

DM-38312: Get fastStarTracker solving #38

Merged
merged 5 commits into from Mar 24, 2023
Merged

Conversation

mfisherlevine
Copy link
Contributor

No description provided.

python/lsst/summit/utils/astrometry/anet.py Outdated Show resolved Hide resolved
@@ -162,6 +162,11 @@ def patchHeader(header):
# service
header['CRPIX1'] = 1560.85
header['CRPIX2'] = 1257.15
if header.get('SECPIX') == '0.67':
# use the fast camera chip centre until we know better
header['SECPIX'] = '0.6213' # measured from a fit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite get what is going on here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole function is awful, but it's a poor-person's obs_package, essentially. I'm patching up header values here by hand as we learn more and more about the various starTracker cameras, and I'm determining which camera we're in by the plate scale. I just managed to get a measurement of the plate scale on the fast camera, and so I'm updating it here so that it makes it into the initial wcs with the right value. Once we have an obs package none of this will be necessary though.

@mfisherlevine mfisherlevine merged commit 6a475b2 into main Mar 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants