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-15635: Approximate filter throughput for DcrCoadds #102

Merged
merged 2 commits into from Oct 26, 2018

Conversation

isullivan
Copy link
Contributor

No description provided.

@@ -549,23 +552,37 @@ def applyDcr(maskedImage, dcr, warpCtrl, bbox=None, useInverse=False):
Shifts the entire image if None (Default).
useInverse : `bool`, optional
Use the reverse of ``dcr`` for the shift. Default: False
useMidpoint : `bool`, optional
Use the midpoint of each subfilter to calculate DCR. Default: True
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you clarify in the doctoring what the behavior is if this is False? I think it uses the start and endpoint of each filter instead, but saying that here would be helpful.

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'm going to actually rename useMidpoint to splitSubfilters, with a default of False. That will make the documentation more clear.

@@ -578,14 +595,17 @@ def calculateDcr(visitInfo, wcs, filterInfo, dcrNumSubfilters):
The filter definition, set in the current instruments' obs package.
dcrNumSubfilters : `int`
Number of sub-filters used to model chromatic effects within a band.
useMidpoint : `bool`, optional
Use the midpoint of each subfilter to calculate DCR. Default: True
Copy link
Contributor

Choose a reason for hiding this comment

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

Again, please briefly say what happens if useMidpoint is set to False.

@isullivan isullivan merged commit 89065d4 into master Oct 26, 2018
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