sisl.GTOrbital
- class sisl.GTOrbital[source]
Bases:
_ExponentialOrbital
Gaussian type orbital
The
GTOrbital
uses contraction factors and coefficients.The Gaussian type orbital consists of a gaussian radial part and a spherical harmonic part that only depends on angles.
Notes
This class is opted for significant changes based on user feedback. If you use it, please give feedback.
- Parameters:
n (
int
, optional) – principal quantum number, default tol + 1
l (
int
) – azimuthal quantum numberm (
int
,optional for l == 0
) – magnetic quantum numberalpha (
float
orndarray
) – coefficients for the exponential (in 1/Ang^2) Generally the coefficients are given in atomic units, so a conversion from online tables is necessary.R – See
Orbital
for details.q0 (
float
, optional) – initial chargetag (
str
, optional) – user defined tag
Methods
copy
()Create an exact copy of this object
equal
(other[, psi, radial])Compare two orbitals by comparing their radius, and possibly the radial and psi functions
name
([tex])Return a named specification of the orbital (
tag
)psi
(r)Calculate
at a given point (or more points)psi_spher
(r, theta, phi[, cos_phi])Calculate
at a given point (in spherical coordinates)radial
(r, *args, **kwargs)Calculate the radial part of spherical orbital
scale
(scale)Scale the orbital by extending R by
scale
spher
(theta, phi[, cos_phi])Calculate the spherical harmonics of this orbital at a given point (in spherical coordinates)
toGrid
([precision, c, R, dtype, atom])Create a Grid with only this orbital wavefunction on it
toSphere
([center])Return a sphere with radius equal to the orbital size
Attributes
Maxmimum radius of orbital
factors contraction factors quantum number quantum number quantum numberInitial charge
Named tag of orbital
- copy()
Create an exact copy of this object
- Parameters:
orbital (_ExponentialOrbital)
- Return type:
_ExponentialOrbital
- equal(other, psi=False, radial=False)
Compare two orbitals by comparing their radius, and possibly the radial and psi functions
When comparing two orbital radius they are considered equal with a precision of 1e-4 Ang.
- psi(r)
Calculate
at a given point (or more points)The position r is a vector from the origin of this orbital.
- Parameters:
r (
ndarray
) – the vector from the orbital origin- Returns:
basis function value at point r
- Return type:
- psi_spher(r, theta, phi, cos_phi=False)
Calculate
at a given point (in spherical coordinates)This is equivalent to
psi
however, the input is given in spherical coordinates.- Parameters:
- Returns:
basis function value at point r
- Return type:
- radial(r, *args, **kwargs)
Calculate the radial part of spherical orbital
The position r is a vector from the origin of this orbital.
- Parameters:
r (
ndarray
) – radius from the orbital origin*args – arguments passed to the radial function
**args – keyword arguments passed to the radial function
- Returns:
radial orbital value at point r
- Return type:
- spher(theta, phi, cos_phi=False)
Calculate the spherical harmonics of this orbital at a given point (in spherical coordinates)
- Parameters:
- Returns:
spherical harmonics at angles
and- Return type:
- toGrid(precision=0.05, c=1.0, R=None, dtype=np.float64, atom=1)
Create a Grid with only this orbital wavefunction on it
- Parameters:
precision (
float
, optional) – used separation in theGrid
between voxels (in Ang)c (
float
orcomplex
, optional) – coefficient for the orbitalR (
float
, optional) – box size of the grid (default to the orbital range)dtype (
numpy.dtype
, optional) – the used separation in theGrid
between voxelsatom (optional) – atom associated with the grid; either an atom instance or something that
Atom(atom)
would convert to a proper atom.
- toSphere(center=None)
Return a sphere with radius equal to the orbital size
- Returns:
sphere with a radius equal to the radius of this orbital
- Return type:
- property R
Maxmimum radius of orbital
- property alpha
factors
- property coeff
contraction factors
- property l
quantum number
- property m
quantum number
- property n
quantum number
- property q0
Initial charge
- property tag
Named tag of orbital