[formatting]
This commit is contained in:
@@ -58,7 +58,7 @@ If you zoom in you can see a little delay between the different recording system
|
||||
|
||||
```{python}
|
||||
# | echo: False
|
||||
fig = trial_plot(repro_d, repro_r)
|
||||
fig = trial_plot(repro_d, repro_r, 0.41)
|
||||
fig.show()
|
||||
```
|
||||
### Correlation between the Signals
|
||||
@@ -85,8 +85,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")
|
||||
|
||||
Reference in New Issue
Block a user