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-9837 Update catalogStarSelector to new SourceSelector API #87

Merged
merged 1 commit into from May 29, 2018

Conversation

parejkoj
Copy link
Contributor

No description provided.


@return an lsst.pipe.base.Struct containing:
- starCat catalog of selected stars (a subset of sourceCat)
def selectSources(self, sourceCat, matches=None, exposure=None):
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to give matches a default value here? (Or rather, is that what we usually do for SourceSelectors with usesMatches = True?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can only find two SourceSelectors that have usesMatches = True, so there really isn't a known behavior. The first thing it does is if matches is None, so I think it's fine to default it like that.

@parejkoj parejkoj merged commit 2d82b59 into master May 29, 2018
@ktlim ktlim deleted the tickets/DM-9837 branch August 25, 2018 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants