Skip to content

Commit

Permalink
(fixup) Avoid hardcoded number of channels in edges
Browse files Browse the repository at this point in the history
  • Loading branch information
philsmt committed Apr 24, 2024
1 parent fd05eea commit 4216c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extra/components/dld.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def edges(self, channel_index=True, pulse_dim='pulseId'):
index = self._align_pulse_index(kd, pulse_dim)
data = kd.ndarray()
raw_edges = [self._build_reduced_pd(data[:, i, :], index, None)
for i in range(7)]
for i in range(data.shape[1])]

index = pd.MultiIndex.from_frame(
pd.concat([e.index.to_frame() for e in raw_edges]))
Expand Down

0 comments on commit 4216c16

Please sign in to comment.