psiToInit

Line2P.psiToInit()

Copies the state self.psi to self.psi0.

Example

This can be used to iterate the propagation over discrete timesteps:

for i in range(10):
        walk.propagate(0.01,method='chebyshev')
        walk.psiToInit()