I have a set of 2D points and wish to test it for hyperuniformity.
As I've learned from papers, the good idea is to calculate structure factor $S(\mathbf {q})$ and test it for
$$\lim _{\mathbf {q} \to 0}S(\mathbf {q} )=0$$
Is it right that for set of 0-sized points we need to use:
$$S(\mathbf {q} )={\frac {1}{N}}\left|\sum _{j=1}^{N}\mathrm {e} ^{-i\mathbf {q} \cdot \mathbf {R} _{j}}\right|^{2}$$ ?
For $\mathbf {q}$ close to $0$ I always get $S(\mathbf {q}) \sim N$.
Looks like that there is a big mistake, so how to do it correctly?