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

Fix PTC fit type #23

Merged
merged 1 commit into from Jan 15, 2020
Merged

Fix PTC fit type #23

merged 1 commit into from Jan 15, 2020

Conversation

mfisherlevine
Copy link
Collaborator

No description provided.

@@ -529,6 +529,8 @@ def runDataRef(self, dataRef, visitPairs):
ptcConfig = MeasurePhotonTransferCurveTaskConfig()
ptcConfig.isrForbiddenSteps = []
ptcConfig.doFitBootstrap = True
ptcConfig.ptcFitType = 'POLYNOMIAL' # default Astier doesn't work for gain correction
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought POLYNOMIAL was the default ptcFitType?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Aaaargh, you're right, and therefore this doesn't fix the problem! 😩 Something is overriding that, need to hunt. Sorry for the premature review... 😔

Also, ensure POLYNOMIAL is always used regardless of
upstream default, and improve error message on failure.
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