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-13854: measureCoaddSources: add command-line PSF cache configuration #191

Merged
merged 1 commit into from Mar 27, 2018

Conversation

PaulPrice
Copy link
Contributor

CoaddPsf is the current tall pole in running measureCoaddSources.
Caching it is simple, inexpensive and realises a hefty gain (25%)
in the runtime.

@@ -1055,7 +1063,7 @@ def __init__(self, butler=None, schema=None, peakSchema=None, refObjLoader=None,
if self.config.doRunCatalogCalculation:
self.makeSubtask("catalogCalculation", schema=self.schema)

def run(self, patchRef):
def run(self, patchRef, psfCache=100000):
Copy link
Member

Choose a reason for hiding this comment

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

Switch to 100?

CoaddPsf is the current tall pole in running measureCoaddSources.
Caching it is simple, inexpensive and realises a hefty gain (25%)
in the runtime.
@PaulPrice PaulPrice merged commit ce0d09b into master Mar 27, 2018
@ktlim ktlim deleted the tickets/DM-13854 branch August 25, 2018 06:45
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

3 participants