hephy-dd / diode-measurement

IV/CV measurements for silicon sensors.
GNU General Public License v3.0
0 stars 2 forks source link

CV yields division by zero #8

Closed arnobaer closed 3 years ago

arnobaer commented 3 years ago

An LCR measurement x of value zero crashes the application applying the formula: 1. / x ** 2 due to an unhandled DivisionByZeroError exception.

Validate that the measured value is not zero, else ignore and do not add to the plot.