-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unit test (part 2) #168
Unit test (part 2) #168
Conversation
ds to find computed calibration quatities
…anted one -update pp and n values to last studies -display wfs -> mean instead of sum -Agg backend is not forced in Pstat calibnration
…ain into dev_test_doc
exluse user_scripts to pytest
improvement split_run method
Hi @jlenain It was a mess but I actually found a solution :
I'll fix in a upcoming PR the |
OK, thanks a lot, @guillaumegrolleron , what a journey! I'll have a look at the rest of the changes, but a first pass already looked good to me. Final review coming ASAP. |
src/nectarchain/makers/component/tests/test_flatfield_spe_component.py
Outdated
Show resolved
Hide resolved
src/nectarchain/user_scripts/dmousadi/TRR_scripts/src/tools_components.py
Outdated
Show resolved
Hide resolved
src/nectarchain/user_scripts/dmousadi/TRR_scripts/src/pedestal.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many many thanks, @guillaumegrolleron ! Tested, working & approved !
* Add a new flat field container * Add all necessary fields in FlatFieldContainer * Add new component for computation of flat field coefficient * Update flat field tools * New script for flat field tests * Add flatfieldContainer and preFlatFieldComponent import * implement of comments and cleaning * example script to run the flat field tool * Fix conflicts following merge of PR #163 * Renamed script to avoid any conflict with pytest * implement changes to use the same components for the 2 passes * example of how to run the flat field tool twice, including functions to calculate gain, hi/lo ratio and identify bad pixels * Resolve conflicts with `main` following merge of PR #168 --------- Co-authored-by: Jean-Philippe Lenain <[email protected]>
This PR is the follow-up of the PR #163.
Unit tests are implemented for all the
component
module and SPE calibrationmakers