Skip to content

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

Description

@bjricketts

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions