casm.quantumespresso.qeio.CellParameters

class casm.quantumespresso.qeio.CellParameters(cardstring, units='')[source]

Bases: object

The CellParameters class contains:
units: The type of units for vectors vectors: A list of all lattice vectors in the above units

Construct a CellParameters object from ‘cardstring’

__init__(cardstring, units='')[source]

Construct a CellParameters object from ‘cardstring’

Methods

__init__(cardstring[, units]) Construct a CellParameters object from ‘cardstring’
make_string() Convert card to string for writing
read(cardstring) Read a CellParameters card
_check_units(units)[source]

Check that units is one of allowed values

make_string()[source]

Convert card to string for writing

read(cardstring)[source]

Read a CellParameters card