sidpy.base.num_utils.get_exponent¶
- sidpy.base.num_utils.get_exponent(vector)[source]¶
Gets the scale / exponent for a sequence of numbers. This is particularly useful when wanting to scale a vector for the purposes of plotting
- Parameters:
vector (array-like) – Array of numbers
- Returns:
exponent – Scale / exponent for the given vector
- Return type: