grogupy._core.make_contour
- grogupy._core.make_contour(emin: float = -20, emax: float = 0.0, enum: int = 42, p: float = 150) tuple[ndarray[Any, dtype[_ScalarType_co]], ndarray[Any, dtype[_ScalarType_co]]][source]
A more sophisticated contour generator.
Calculates the parameters for the complex contour integral. It uses the Legendre-Gauss quadrature method. It returns a class that contains the information for the contour integral.
Parameters
- emin: int, optional
Energy minimum of the contour. Defaults to -20
- emax: float, optional
Energy maximum of the contour. Defaults to 0.0, so the Fermi level
- enum: int, optional
Number of sample points along the contour. Defaults to 42
- p: int, optional
Shape parameter that describes the distribution of the sample points. Defaults to 150
Returns
- ze: NDArray
Contour points
- we: NDArray
Weights along the contour