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

Added near meridian constraint #589

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ramonefoster
Copy link

Created NearMeridianContraint, that can be useful for observations using German-Equatorial Mounts, to avoid flipping the side of pier during exposures.

Copy link
Contributor

@bmorris3 bmorris3 left a comment

Choose a reason for hiding this comment

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

Thanks @ramonefoster, this is great!

My only real comment is about the name. When you first read it, it may be a bit ambiguous if this constraint includes or excludes targets are near the meridian.

Could we rename it MeridianSeparationConstraint, and add a max keyword argument? This would make it clear that the constraint sets angular limits relative to the meridian.

astroplan/constraints.py Outdated Show resolved Hide resolved
@ramonefoster
Copy link
Author

Hello, @bmorris3 . Thanks for the suggestion, it was indeed a needed change. I have it fixed.

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