torchgpe.bec2D.gas.Gas.psi#
- property Gas.psi#
The real space wave function of the gas.
Returns the most updated real space wave function of the gas. If the last updated wave function is the one in momentum space, computes and stores the real space wave function as its iFFT before returning it. When a value is assigned to psi, takes care of the normalization before storing it.