ess.amor.instrument_view.instrument_view

ess.amor.instrument_view.instrument_view

ess.amor.instrument_view.instrument_view(da, components=None, pixel_size=0.0035, **kwargs)

Instrument view for the Amor instrument, which automatically populates a list of additional beamline components, and sets the pixel size.

Parameters
  • da (scipp._scipp.core.DataArray) – The input data for which to display the instrument view.

  • components (Optional[dict]) – A dict of additional components to display. By default, a set of components defined in beamline.instrument_view_components() are added.

  • pixel_size (float) – The detector pixel size. Default is 0.0035.

Return type

scipp.plotting.objects.Plot