Closed chillenzer closed 2 months ago
Hey, so the normalization there is now redundant. I added the normalization when we were dealing making the Fourier transforms normalization in FFT in numpy
Okay, so the normalization should be by sqrt(num_lattice_points) since the vector length is num_lattice point and if you take the inner product of any eigenfunction with it's complex conjugate (e.g. zero mode) it will be equal to num_lattice_points.
Second this thing will already implemented in #12.
I stumbled across the need for normalisation in #12's test_real_basis.py and that shouldn't be necessary. Turns out I'm really not used to working with dimensionful quantities. Here's the fix. With this correct normalisation of the eigenfunctions, the manual normalisation in
test_real_basis.py
is no longer necessary.