spirit.parameters.ema module
Eigenmode analysis (EMA)
This method, if needed, calculates modes (they can also be read in from a file) and perturbs the spin system periodically in the direction of the eigenmode.
- spirit.parameters.ema.clear_modes(p_state, idx_image=-1, idx_chain=-1)
Clears the modes.
- spirit.parameters.ema.get_n_mode_follow(p_state, idx_image=-1, idx_chain=-1)
Returns the index of the mode to use.
- spirit.parameters.ema.get_n_modes(p_state, idx_image=-1, idx_chain=-1)
Returns the number of modes to calculate or use.
- spirit.parameters.ema.get_sparse(p_state, sparse, idx_image=-1, idx_chain=-1)
Set wether to use sparse matrices.
- spirit.parameters.ema.set_n_mode_follow(p_state, n_mode, idx_image=-1, idx_chain=-1)
Set the index of the mode to use.
- spirit.parameters.ema.set_n_modes(p_state, n_modes, idx_image=-1, idx_chain=-1)
Set the number of modes to calculate or use.
- spirit.parameters.ema.set_sparse(p_state, sparse, idx_image=-1, idx_chain=-1)
Set wether to use sparse matrices.