sisl_toolbox.siesta.atom.AtomInput
- class sisl_toolbox.siesta.atom.AtomInput(atom, define=('NEW_CC', 'FREE_FORMAT_RC_INPUT', 'NO_PS_CUTOFFS'), **opts)
Bases:
object
Input for the
atom
program see [AtomLicense]This class enables the construction of the
INP
file to be fed toatom
.# Example input for ATOM # # Comments allowed here # # ae Si ground state all-electron # Si car # 0.0 # 3 2 # 3 0 2.00 0.00 # 3 1 2.00 0.00 # # Comments allowed here # #2345678901234567890123456789012345678901234567890 Ruler
References
Methods
ae
([filename, path])excite
(*charge, **lq)Excite contained atom to another charge
from_input
(inp)Return atom object respecting the input
from_yaml
(file[, nodes])Parse the yaml file
pg
([filename, path])write_all_electron
(f[, charges])write_header
(f)write_test
(f[, charges])- excite(*charge, **lq)[source]
Excite contained atom to another charge
Notes
This is charge, not electrons.
- plot(path=None, plot=('wavefunction', 'charge', 'log', 'potential'), l='spdf', show=True)[source]
Plot everything related to this psf file
- Parameters:
path (
str
orpathlib.Path
, optional) – from which directory should files be readplot (
list-like
ofstr
, optional) – which data to plotl (
list-like
, optional) – which l-shells to plot (for those that have l-shell decompositions)show (
bool
, optional) – call matplotlib.pyplot.show() at the end
- Returns:
fig (
figure for axes
)axs (
axes used for plotting
)