aiida_quantumespresso.calculations.xspectra#

Classes and methods for running xspectra.x with AiiDA.

Module Contents#

Classes#

XspectraCalculation

CalcJob implementation for the xspectra.x code of Quantum ESPRESSO.

Attributes#

KpointsData

aiida_quantumespresso.calculations.xspectra.KpointsData[source]#
class aiida_quantumespresso.calculations.xspectra.XspectraCalculation(*args, **kwargs)[source]#

Bases: aiida_quantumespresso.calculations.namelists.NamelistsCalculation

CalcJob implementation for the xspectra.x code of Quantum ESPRESSO.

_Plotcore_FILENAME = 'stdout'[source]#
_Spectrum_FILENAME = 'xanes.dat'[source]#
_XSPECTRA_SAVE_FILE = 'xanes.sav'[source]#
_XSPECTRA_GAMMA_FILE = 'gamma.dat'[source]#
_default_namelists = ['INPUT_XSPECTRA', 'PLOT', 'PSEUDOS', 'CUT_OCC'][source]#
_blocked_keywords = [('INPUT_XSPECTRA', 'outdir'), ('INPUT_XSPECTRA', 'prefix'), ('INPUT_XSPECTRA', 'x_save_file'),...[source]#
_internal_retrieve_list[source]#
_retrieve_singlefile_list = [][source]#
_retrieve_temporary_list = [][source]#
_default_parser = 'quantumespresso.xspectra'[source]#
classmethod define(spec)[source]#

Define the process specification.

generate_input_file(parameters)[source]#

Add kpoint handling to the inherited method.

This checks that the offset for the mesh is in a valid format, converts the offset from AiiDA format to QE format, and adds the kpoint mesh input to the end of the file.

Essentially this copies the method used in prepare_for_submission from the BasePwCpInputGenerator class.

prepare_for_submission(folder)[source]#

Override the inherited method to add the core wavefunction data file to the local_copy_list.