torchgpe.bec2D.potentials.DispersiveCavity.get_alpha# DispersiveCavity.get_alpha(psi, time=None)[source]# Return the intracavity field Parameters: psi (torch.tensor) – The wave function of the gas time (float, optional) – The time at which to compute the intracavity field. Defaults to None. Returns: The intracavity field \(\alpha\) Return type: float