[formatting]

This commit is contained in:
wendtalexander
2025-10-21 15:06:19 +02:00
parent 307709834b
commit d5499eb3e8
5 changed files with 93 additions and 81 deletions

View File

@@ -86,8 +86,6 @@ lags_lanes = []
for oephys_lane, relacs_lane, names_lane in zip(
oephys_lanes, relacs_lanes, names_lanes, strict=True
):
print(oephys_lane.shape)
print(relacs_lane.shape)
oephys_lane_resampled = signal.resample(oephys_lane, len(relacs_lane))
correlation = signal.correlate(oephys_lane_resampled, relacs_lane, mode="full")
lags = signal.correlation_lags(oephys_lane_resampled.size, relacs_lane.size, mode="full")