2.5.1. moha.io package

2.5.1.1. Submodules

2.5.1.2. moha.io.iobasis module

moha.io.iobasis.isDigit(x)[source]
moha.io.iobasis.load_nwchem(symbols, coordinates, filename)[source]

read basis set

moha.io.iobasis.shell_expansion(shell)[source]

2.5.1.3. moha.io.iofcidump module

class moha.io.iofcidump.FCIDUMP(pg='c1', n_sites=0, n_elec=0, twos=0, ipg=0, uhf=False, h1e=None, g2e=None, orb_sym=None, const_e=0, mu=0, general=False)[source]

Bases: object

read(filename)[source]

Read FCI options and integrals from FCIDUMP file.

Args:

filename : str

t(s, i, j)[source]
v(sij, skl, i, j, k, l)[source]
write(filename, tol=1e-13)[source]

Write FCI options and integrals to FCIDUMP file.

Args:

filename : str tol : threshold for terms written into file

2.5.1.4. moha.io.iogeometry module

moha.io.iogeometry.load_xyz(filename)[source]

Load a molecular geometry from a .xyz file.

Argument:

filename

The file to load the geometry from

Returns: dictionary with title`, ``coordinates and numbers.

2.5.1.5. moha.io.iomolden module

class moha.io.iomolden.Molden(filename, mol, orbs, wfn)[source]

Bases: object

atom_index_filter()[source]

filte the orbital

dump()[source]

write molden input file

Arguments:

filename

File name of molden input file

data

orbital_index_filter()[source]

filte the orbital

write_GTO(handler)[source]
write_MO(handler)[source]
write_MO_coefficient(handler, i)[source]
write_MO_header(handler, i)[source]
write_atom_orbital_header(handler, basis)[source]
write_atoms(handler)[source]
write_header(handler)[source]

2.5.1.6. moha.io.iosystem module

class moha.io.iosystem.IOSystem[source]

Bases: object

classmethod from_file(geofile, basisfile)[source]

2.5.1.7. moha.io.log module

Screen logging, timing and citation management

The goal of the screen logger is to track the progress of a computation in a convenient human-readable way, possibly highlighting problematic situations. It is not intended as a computer-readable output file that contains all the results of a computation. For that purpose, all useful information is written to a binary checkpoint file or kept in memory as attributes of the HORTON objects.

2.5.1.8. Module contents