For-a-few-DPPs-more / structure-factor

Compute structure factor of stationary and isotropic point processes
https://for-a-few-dpps-more.github.io/structure-factor/
MIT License
10 stars 5 forks source link

Make sure error bars are on the mean #8

Closed rbardenet closed 2 years ago

rbardenet commented 3 years ago

I have the impression that current error bars on 1D plots of S(k) are computed as the std of the values of S falling in each bin. But we are rather interested in the standard deviation of the empirical mean, which is the same value but divided by the sqrt of the number of points that fall in each bin. A quick sanity check is that the error bar in a bin should get smaller as the number of points in that bin increases.

guilgautier commented 2 years ago

Hi @rbardenet and @dhawat, can this issue be considered as resolved ?

dhawat commented 2 years ago

issue resolved

guilgautier commented 2 years ago

@dhawat

issue resolved

Please mention how it got solved, and reference the corresponding commits.