scipp / scippneutron

Neutron scattering toolkit built using scipp for Data Reduction. Not facility or instrument specific.
https://scipp.github.io/scippneutron/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Fix instrument view to allow multiple inputs #484

Open nvaytet opened 7 months ago

nvaytet commented 7 months ago

We need to support things like

scn.instrument_view({'layer0': res['layer', 0].hist(),
              'layer3': res['layer', 3].hist()},
             pixel_size=0.0075)

It currently fails saying dict has no attribute coords.