triqs.mesh.meshes.MeshImFreq.to_index

MeshImFreq.to_index()

Dispatched C++ function(s).

[1] (d: int)
  -> int

Map a data index \(d \in \{0, 1, \ldots, N-1\}\) to the corresponding Matsubara index \(n(d)\).

Parameters:
dint

Data index \(d\) to map.

Returns:
int

Matsubara index \(n(d) = d + n_{\text{min}}\).