somexlab / fastddm

Python library for Differential Dynamic Microscopy analysis
https://fastddm.readthedocs.io/
GNU General Public License v3.0
3 stars 0 forks source link

Bug 162 #163

Closed enrico-lattuada closed 1 year ago

enrico-lattuada commented 1 year ago

Close #162

enrico-lattuada commented 1 year ago

The PR solves the issue with the azimuthal average when there is just one point. The _err field was evaluated as 0, while now it will be set to nan.

We check then for nan values when doing the noise estimate.