roseengineering / crystalweb

Measure a crystal using a Nanovna automatically
14 stars 3 forks source link

divide by zero in Log10 #2

Open livep2000 opened 8 months ago

livep2000 commented 8 months ago

Great ! I need to measure 120 crystals. this saves some headache.

On windows, python3, nanovna-F V2 from sysjoint.

It seems to work, but throws this at my screen:

RuntimeWarning: divide by zero encountered in log10 mag = np.median(20 * np.log10(np.abs(data)), axis=0)