UnitCell#
- class anri.crystal.UnitCell(cell_input)[source]#
Bases:
objectClass to hold and manipulate a unit cell.
Extends
Dans_Diffraction.classes_crystal.Cell().Attributes
Get the lattice parameters as an array.
Get the metric tensor as an array.
Get the reciprocal lattice parameters as an array.
Get the reciprocal metric tensor as an array.
Get the real space unit cell volume as an array.
Methods
UnitCell.from_lpars(lpars)Create
UnitCell()instance directly from lattice parameters.