Python native max/min(xy[i]) was raising ValueError because "... truth value of an array with more than one element is ambiguous.". Use numpy for this now.
Motivation and Context
Now, position of 2dgauss is estimated an no error thrown (at least with dummy)
How Has This Been Tested?
Tested with new core and dummy confocal.
Types of changes
[x] Bug fix
[ ] New feature
[ ] Breaking change (Causes existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] I have documented my changes in /docs/changelog.md.
[ ] My change requires additional/updated documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added/updated the config example for any module docstrings as necessary.
[x] I have checked that the change does not contain obvious errors
(syntax, indentation, mutable default values, etc.).
[ ] I have tested my changes using 'Load all modules' on the default dummy configuration.
[ ] All changed Jupyter notebooks have been stripped of their output cells.
Quick "fix" of 2d gaussian estimator
Description
Python native max/min(xy[i]) was raising ValueError because "... truth value of an array with more than one element is ambiguous.". Use numpy for this now.
Motivation and Context
Now, position of 2dgauss is estimated an no error thrown (at least with dummy)
How Has This Been Tested?
Tested with new core and dummy confocal.
Types of changes
Checklist:
/docs/changelog.md
.