cwitools.modeling.powlaw1d

cwitools.modeling.powlaw1d(params, r)

1D Power-law profile in the form f(parameters, r)

I(R) = I0 * (R/Re) ** alpha

Parameters:
  • params (list) – Model parameters (I0, Re, alpha)
  • x (numpy.array) – Model input
Returns:

The Power-law model

Return type:

numpy.array

Examples: