XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
20 stars 32 forks source link

No need to get map shape for 0D placeholder map #1245

Closed dachengx closed 1 year ago

dachengx commented 1 year ago

What does the code in this PR do / what does it improve?

When using placeholder maps, usually they are single values, so we can not use len on map_data.

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable: