Skip to main content

default_matsubara_sampling_points_from_uhat

Function default_matsubara_sampling_points_from_uhat 

Source
pub fn default_matsubara_sampling_points_from_uhat<S>(
    uhat_full: &PiecewiseLegendreFTVector<S>,
    l: usize,
    fence: bool,
    positive_only: bool,
) -> Result<Vec<MatsubaraFreq<S>>, Error>
where S: StatisticsType + 'static,
Expand description

Default Matsubara sampling points for a basis of size l, from the Matsubara basis functions uhat_full alone

The points are the sign changes of uhat_full[l] (after the parity adjustment of l), or the extrema of the last function when uhat_full has no function l; bosonic sets always include n = 0. fence adds points near the outer frequencies. This is what FiniteTempBasis::default_matsubara_sampling_points computes, for a caller that holds the functions but not the basis.

ยงErrors