fix_collinear_spin#

ElectronicBandStructure.fix_collinear_spin()[source]#

Converts data from two spin channels to a single channel, adjusting the spin down values to negatives. This is typically used for plotting the Density of States (DOS).

Parameters:

function. (No parameters are required for this) –

Returns:

Returns True if the function changed the data, False otherwise.

Return type:

bool