imap_processing.idex.idex_l2a.log_smooth_powerlaw#

imap_processing.idex.idex_l2a.log_smooth_powerlaw(log_v: float, log_a: float, params: ndarray) float#

Define a smoothly transitioning power law to fit the calibration curve to.

Parameters:
  • log_v (float) – Velocity.

  • log_a (float) – Scale factor.

  • params (np.ndarray) – Calibration parameters for the power law.

Returns:

The value of the power law at the given velocity.

Return type:

float