quartic2d.Interaction.set_interpolator#
- Interaction.set_interpolator(interpolator)#
Select the momentum-space interpolator and recompute
V.- Parameters:
interpolator ({'linear', 'cubic', 'pchip'}) – Interpolation used for the sampled momentum-space harmonics.
- Returns:
This instance after recomputing
Vand harmonic-pair contributions.- Return type:
- Raises:
ValueError – If
interpolatoris not one of the supported names.
Notes
Changing the interpolator clears the harmonic interpolation caches and any attached interaction convergence record.