ILAMB.Variable.Variable.phaseShift¶
- Variable.phaseShift(var, method='max_of_annual_cycle')[source]¶
Computes the phase shift between a variable and this variable.
Finds the phase shift as the time between extrema of the annual cycles of the variables. Note that if this var and/or the given variable are not already annual cycles, they will be computed but not returned.
- Parameters
var (ILAMB.Variable.Variable) – The variable with which we will measure phase shift
method (str, optional) – The name of the method used to compute the phase shift