Skip to content

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

@bjricketts

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.

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