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

Derotator Offsets #357

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Derotator Offsets #357

merged 3 commits into from
Apr 12, 2024

Conversation

LeonMee
Copy link
Contributor

@LeonMee LeonMee commented Apr 11, 2024

Added a function that calculates the derotator offset based on a head…er and a given observation time.

@LeonMee LeonMee changed the title Added a function that calculates the derotator offset based on a head… Derotator Offsets Apr 11, 2024
@@ -308,5 +310,12 @@ async def _update_celestial_headers(self) -> None:
"SUNDIST": (None if sun_dist is None else float(sun_dist.degree), "Solar Distance from Target"),
}

def _get_derotator_offset_from_header(self, hdr, obstime):
Copy link
Member

Choose a reason for hiding this comment

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

Can we rename this to _calculate_derotator_position_from_header?

Copy link
Member

Choose a reason for hiding this comment

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

Or better: _calculate_derotator_position and don't use the header. The telescope itself knows best, where it's pointing...

@thusser thusser merged commit 501fc67 into develop Apr 12, 2024
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.

2 participants