2.1.1. moha.system package
2.1.1.1. Subpackages
- 2.1.1.1.1. moha.system.basis package
- 2.1.1.1.2. moha.system.hamiltonian package
- 2.1.1.1.3. moha.system.integral package
- 2.1.1.1.3.1. Submodules
- 2.1.1.1.3.2. moha.system.integral.angular_momentum module
- 2.1.1.1.3.3. moha.system.integral.differential module
- 2.1.1.1.3.4. moha.system.integral.electron_repulsion module
- 2.1.1.1.3.5. moha.system.integral.kinetic module
- 2.1.1.1.3.6. moha.system.integral.linear_momentum module
- 2.1.1.1.3.7. moha.system.integral.multipole_moment module
- 2.1.1.1.3.8. moha.system.integral.nuclear_attraction module
- 2.1.1.1.3.9. moha.system.integral.overlap module
- 2.1.1.1.3.10. Module contents
- 2.1.1.1.4. moha.system.operator package
- 2.1.1.1.5. moha.system.wavefunction package
2.1.1.2. Submodules
2.1.1.3. moha.system.atom module
2.1.1.4. moha.system.auxiliary module
2.1.1.5. moha.system.molecule module
- class moha.system.molecule.Molecule(title, size, symmetry='C1')[source]
Bases:
list
Molecular Class.
- titlestr
Title of the system.
- sizeint
Number of atoms.
- symmetrystr
Point group of the molecule.
- center_of_mass(self)
Calculate the center of mass for molecular.
bond_length(self,i,j)
- bond_angle(i, j, k)[source]
- Calculate the bond angle between atoms i,j,k.
Where atom j is the central atom.
- iint
Index of first atom.
- jint
Index of second atom.
- kint
Index of third atom.
- TypeError
If index of atom is not int.
- ValueError
If index of atom is not zero or positive number. If index of atom is not samller than number of atoms.
- bond_length(i, j)[source]
Calculate the the distances between atom i and j.
- iint
Index of first atom.
- jint
Index of second atom.
- TypeError
If index of atom is not int.
- ValueError
If index of atom is not zero or positive number. If index of atom is not samller than number of atoms.
- dihedral_angle(A, B, C, D)[source]
Calculate dihedral angle for atom connectivit A,B,C,D.
- iint
Index of first atom.
- jint
Index of second atom.
- kint
Index of third atom.
- lint
Index of fourth atom.
- TypeError
If index of atom is not int.
- ValueError
If index of atom is not zero or positive number. If index of atom is not samller than number of atoms.
- classmethod from_file(filename)[source]
Generate N electron basis set.
- truncationlist
A list of truncation degree.
- TypeError
If truncation is not a list.
- out_of_plane_angle(i, j, k, l)[source]
- Calculate out of plane angle, which is for atom A
out of the plane consist by atoms B C D
- iint
Index of first atom.
- jint
Index of second atom.
- kint
Index of third atom.
- lint
Index of fourth atom.
- TypeError
If index of atom is not int.
- ValueError
If index of atom is not zero or positive number. If index of atom is not samller than number of atoms.
- property center_of_mass
Calculate the center of mass for molecular.
2.1.1.6. moha.system.periodic module
- class moha.system.periodic.Element(number=None, symbol=None, **kwargs)[source]
Bases:
object
Represents an element from the periodic table.
- numberint
The atomic number.
- symbolstr
A string with the symbol of the element.
- namestr
The full element name.
- groupint
The group of the element (not for actinides and lanthanides).