triqs_dft_tools.converters.plovasp.vaspio.Plocar

class triqs_dft_tools.converters.plovasp.vaspio.Plocar[source]

Class containing raw PLO data from VASP.

Properties:
  • plo (numpy.array((nion, ns, nk, nb, nlmmax))) : raw projectors

  • params (dict) : parameters read from PLOCAR

  • ferw (array(nion, ns, nk, nb)) : Fermi weights from VASP

Methods

from_file([vasp_dir, plocar_filename])

Reads non-normalized projectors from a binary file ('PLOCAR' by default) generated by VASP PLO interface.

locproj_parser([locproj_filename])

Parses LOCPROJ (for VASP >= 5.4.2) to get VASP projectors.

search_for(f, patt)

Reads file 'f' until pattern 'patt' is encountered and returns the corresponding line.

Methods

__init__()

from_file([vasp_dir, plocar_filename])

Reads non-normalized projectors from a binary file ('PLOCAR' by default) generated by VASP PLO interface.

locproj_parser([locproj_filename])

Parses LOCPROJ (for VASP >= 5.4.2) to get VASP projectors.

search_for(f, patt)

Reads file 'f' until pattern 'patt' is encountered and returns the corresponding line.