Ulm-IQO / qudi-core

A framework for modular measurement applications.
GNU General Public License v3.0
25 stars 19 forks source link

Quickfix of 2d gaussian estimator #20

Closed LukePiewalker closed 2 years ago

LukePiewalker commented 2 years ago

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: