landau.resample

Error propagation for pedestrians.

class landau.resample.RandomlyShiftedPhase(name, phase, noise=0.001)[source]

Bases: Phase

Add a constant noise to an arbitrary phase. Purely for error estimation via bootstrapping.

concentration(T, mu)[source]

Concentration of the phase at the given state.

name: str
noise: float = 0.001
phase: Phase
semigrand_potential(T, mu)[source]

Calculate the semigrand potential of the phase.

shift: float
landau.resample.resample_borders(phases, Ts, dmus, noise_norm=0.001, n=100, cores=20)[source]