notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Incorrect atttribute of Crossspectrum used to calculate time lag in Simulator.ipynb tutorial

Open bjricketts opened this issue 2 years ago • 1 comments

On line 600, the .cs attribute is used instead of .power to calculate the time lag. e.g. It should be: lag = np.angle(cross.power)/ (2 * np.pi * cross.freq) instead of: lag = np.angle(cross.cs)/ (2 * np.pi * cross.freq) as it currently is.

bjricketts avatar Nov 03 '22 11:11 bjricketts

@bjrickets thank you so much for catching this!

matteobachetti avatar Nov 04 '22 11:11 matteobachetti