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

standard star DESI_TARGET mask as input option #114

Merged
merged 5 commits into from Jun 5, 2018
Merged

standard star DESI_TARGET mask as input option #114

merged 5 commits into from Jun 5, 2018

Conversation

forero
Copy link
Member

@forero forero commented May 15, 2018

This solves #64 by introducing the command line option --starbit to select the bit in the desi_target mask that signals a standard star. The default option is 33.

@forero forero requested review from sbailey and julienguy May 15, 2018 19:23
Copy link
Contributor

@sbailey sbailey left a comment

Choose a reason for hiding this comment

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

Thanks for adding this option. We will have more than one bit that could be use for standard stars (e.g. F-stars and WD), so please update this to be a --starmask instead of a single --starbit. Default 60129542144 = 0xe00000000 = STD_FSTAR, STD_WD, STD_BRIGHT. Also use OBSCONDITIONS to match whether this stdstar target is allowed to be used on this tile, just like science targets do.

@forero
Copy link
Member Author

forero commented Jun 5, 2018

@sbailey I've implemented the starmask. The match with OBSCONDITIONS was already in place. I think this is ready to merge.

@forero
Copy link
Member Author

forero commented Jun 5, 2018

I am going to merge this now. Basic tests confirm that starmask works as expected.

@forero forero merged commit a1c43f9 into master Jun 5, 2018
@forero forero deleted the starmask branch June 5, 2018 19:58
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