PAOFLOW.transport.grid.egrid#
Functions#
|
Initialize a linear energy grid for transport calculations. |
Module Contents#
- PAOFLOW.transport.grid.egrid.initialize_energy_grid(emin, emax, ne, carriers)[source]#
Initialize a linear energy grid for transport calculations.
- Parameters:
- Returns:
`egrid` – The energy grid values.
- Return type:
ndarray of shape (ne,)
Notes
For ‘phonons’, the first energy is replaced with a small positive value to avoid numerical singularities at E = 0:
egrid[0] = egrid[1] / 100.0