Skip to content

Explicit timestamps as indices #151

Description

@jaidevd

By default. if timestamps of a signal are not provided, integer indices are used. When they are provided, they cannot be arbitrary timestamps since the signal is sliced using timestamps directly, as follows:

self.tfr[indices, self.ts] = self.fwindow[lh + tau] * self.signal[self.ts + tau] * \
    np.conj(self.signal[self.ts - tau])

This needs to be fixed by converting the timestamp indices to intermediate integer indices, and using them to slice the signal.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions