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

default moncor setting opposite of what's in documentation #51

Closed
js54434 opened this issue Feb 23, 2016 · 1 comment
Closed

default moncor setting opposite of what's in documentation #51

js54434 opened this issue Feb 23, 2016 · 1 comment
Labels

Comments

@js54434
Copy link

js54434 commented Feb 23, 2016

If I do a resolution calculation and set moncor=1 in the Instrument class, I get a different R0 value than I do if I omit moncor, which happens to be the same value as for moncor=0. This is backwards from what's described on this page in the documentation.

@pseudocubic
Copy link
Contributor

The problem is in line 1420. It should set moncor=1 there, but sets it to zero by default.

pseudocubic pushed a commit that referenced this issue Feb 23, 2016
…moncor behavior

Resolves #50
Resolves #51

Default behavior with moncor attribute unset was to normalize to source flux, opposite of what was indicated in documentation. Changed to reflect current documentation. In resolution unit tests, moncor = 0 set explicitly to prevent test failure.

Attribute for vertical mosaic of sample, vmosaic, was not explicitly defined in Sample class. Corrected to include vmosaic variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants