European-XFEL / EXtra-data

Access saved EuXFEL data
https://extra-data.rtfd.io
BSD 3-Clause "New" or "Revised" License
7 stars 14 forks source link

by_id and by_index slices do not support scalar integers #427

Closed philsmt closed 2 months ago

philsmt commented 1 year ago

Unlike np.s_, our own special slices by_id and by_index do not support scalar integers to select a single train by ID or index: