Skip to content

Commit 09b609f

Browse files
committed
touch up
1 parent f9dd97c commit 09b609f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xanes_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def xas_fly_exporter(uid):
308308

309309
ch_names = [ch for ch in keys if "channel" in ch]
310310
for ch in ch_names:
311-
df[ch] = np.sum(tbl[ch].read()[:, E_min:E_max], axis=1)
311+
df[ch] = np.sum(tbl[ch].read()[:, E_min:E_max], axis=-1)
312312
df.rename(columns={ch: ch.split("_")[-1]}, inplace=True)
313313
df["ch_sum"] = df[[ch for ch in df.keys() if "channel" in ch]].sum(axis=1)
314314

0 commit comments

Comments
 (0)