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

Review for DM-2837 #57

Merged
merged 4 commits into from Jun 13, 2016
Merged

Review for DM-2837 #57

merged 4 commits into from Jun 13, 2016

Conversation

pschella
Copy link

@pschella pschella commented Jun 7, 2016

No description provided.

@pschella pschella changed the title Tickets/dm 2837 Review for DM-2837 Jun 7, 2016
self.sources = dict(g=0.0, r=0.0, true_g=-0.00928), dict(g=0.0, r=-1.0, true_g=-0.09168)
self.sources = (dict(g=0.0, r=0.0, fluxErr_g=0.0, fluxErr_r=0.0, true_g=-0.00928, true_fluxErr_g=0.0),
dict(g=0.0, r=-1.0, fluxErr_g=1.0, fluxErr_r=1.0, true_g=-0.09168,
true_fluxErr_g=0.92129230974756315))
Copy link
Author

Choose a reason for hiding this comment

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

Where do all these hard-coded values come from?

Copy link
Contributor

Choose a reason for hiding this comment

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

true_fluxErr_g should be below g=0.0.

@AstroVPK AstroVPK force-pushed the tickets/DM-2837 branch 2 times, most recently from a10e97a to 35b02d5 Compare June 13, 2016 16:12
The existing unittests for colorterms do not test the
propagateFluxErrors function. This commit adds a simple unittest
that propagates trivial flux errors.
The existing test1 in testPhotoCal that tests to see if zeropoint
corrections are computed correctly was not applying any colorterm
correction. This commit adds a test that essentially repeats test1
but with a trivial colorterm correction added to ensure that the
colorterm machinary is working correctly.
The unittest Test1 to ensure that zeropoints could be computed has been
renamed testZeroPoint.
RFC-69 mandates that all python unittests be runnable under py.test
to allow for proper collection of test statistics etc... This commit
updates the testColorterm.py and testPhotoCal.py tests to the py.test
standard as outlined in SQR-012.
@AstroVPK AstroVPK merged commit d6446a5 into master Jun 13, 2016
@ktlim ktlim deleted the tickets/DM-2837 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

4 participants