Package enrichpy :: Module yields :: Class Interpolate_Yields

Class Interpolate_Yields

source code

The ejected carbon mass is interpolated on a logarithmic metalicity scale and mass scale.

Essentially a convenience class to encapsulate my current choices about the interpolation.

Instance Methods
 
__init__(self, mass_star, metal_star, mass_C, weight_function=None, mass_scale='linear', metal_scale='linear', kx=1, ky=1, swapxy=False) source code
 
__call__(self, m, Z) source code