Normalize vectors

pyspedas.tnormalize(variable, newname=None, return_data=False)

Normalize all the vectors stored in a tplot variable

variable: str or np.ndarray

tplot variable (or numpy array) containing the vectors to be normalized

  • newname (str) – name of the output variable; default: variable_normalized

  • return_data (bool) – return the normalized vectors instead of creating a tplot variable


  • name of the tplot variable created or normalized vectors if return_data

  • is set