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

U/pgee/dm 1013 #7

Merged
merged 3 commits into from Jan 21, 2015
Merged

U/pgee/dm 1013 #7

merged 3 commits into from Jan 21, 2015

Conversation

jdswinbank
Copy link
Contributor

PR for review.

@@ -137,23 +137,39 @@ def __init__(self, config, name, schema, metadata):
SingleFramePlugin.__init__(self, config, name, schema, metadata)
self.keyProbability = schema.addField(name + "_value", type="D",
doc="Set to 1 for extended sources, 0 for point sources.")
self.keyFlag = schema.addField(name + "_flag", type="Flag",
doc="Set to 1 for any fatal failure.")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The indentation here is a bit weird -- it's not a fatal flaw, but it would be nicer if the "d" of "doc" appeared directly beneath the "n" of "name". In fact, the text is short enough that everything would fit on a single line, which would be better still.

Copy link
Contributor

Choose a reason for hiding this comment

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

This and all the following minor formatting problems were fixed. I won't add a comment for each one.

…ropriately

Failure modes are:  ModelFluxFlag or PsfFluxFlag are True when the measure is called
                    ModelFlux or PsfFlux are NAN when the measure is called
                    ModelFluxErr is NAN when the modelFluxFactor is non-zero, else Err is ignored
                    PsfFluxErr is NAN when the psfFluxFactor is non-zero, else Err is ignored

Review issues addressed
@mjuric mjuric merged commit 4e90625 into master Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants