torchgpe.bec2D.potentials.DispersiveCavity.get_order#

DispersiveCavity.get_order(psi)[source]#

Return the order parameter for self-organization

Parameters:

psi (torch.tensor) – The wave function of the gas

Returns:

The order parameter

Return type:

float