5.23.7. utils.handle_k¶
- eminus.utils.handle_k(func=None, *, mode='gracefully')[source]¶
Handle k-points calculating the function for each channel with different modes.
This uses the same principle as described in
handle_spin()
.- Keyword Arguments:
func – Function that acts on k-points.
mode – How to handle the k-point dependency.
- Returns:
Decorator.