gpe.tube#
Dynamics in elongated harmonic traps.
See Expansion.md for details.
Attributes#
Classes#
Effective 1D model for the GPE in harmonic cigars. |
Module Contents#
- class StateGPEdrZ(Nxyz, Lxyz, **kw)[source]#
Bases:
gpe.bec.HOMixin,gpe.bec.StateScaleHOEffective 1D model for the GPE in harmonic cigars.
This class combines the NPSEQ to derive an effective 1D equation for the dynamics of a harmonically trapped cloud with the scaling solution of Castin and Dum to allow for expansion dynamics.
- init()[source]#
Initialize the state.
This method defines the basis positions, momenta, etc. for use later on. We define these here rather than in the constructor __init__() so that the user can change them later and the reinitialize the state. We also call this function from the pre_evolve_hook() so that it is called before any evolution takes place. For this reason, we should not modify the state here.
- get_central_density(TF=False)[source]#
Return the physical density (3D) along the central axis of the trap.
- Parameters:
TF (bool) – If True, then assume the transverse cloud is a TF profile (otherwise use the internal Gaussian anzatz.)
- get_n_TF(V_TF, V_ext=None, g=None)[source]#
Return the Thomas Fermi density profile n_1D from mu.
- Parameters:
V_TF (float) – Value of V(x_TF) where the density should vanish in the TF limit.