openmc.lib.EnergyFunctionFilter¶
- class openmc.lib.EnergyFunctionFilter(energy=None, y=None, uid=None, new=True, index=None)[source]¶
- set_data(energy, y)[source]¶
Set the interpolation information for the filter
- Parameters
energy (numpy.ndarray) – Independent variable for the interpolation
y (numpy.ndarray) – Dependent variable for the interpolation
interpolation ({'histogram', 'linear-linear', 'linear-log', 'log-linear', 'log-log', 'quadratic', 'cubic'}) – Interpolation scheme