parsnip.frac_to_mag
- parsnip.frac_to_mag(fractional_difference)
Convert a fractional difference to a difference in magnitude.
Because this transformation is asymmetric for larger fractional changes, we take the average of positive and negative differences.
This supports numpy broadcasting.