ess.sans.i_of_q.convert_to_wavelength
ess.sans.i_of_q.convert_to_wavelength¶
- ess.sans.i_of_q.convert_to_wavelength(data, monitors, data_graph, monitor_graph)¶
Convert the data array and all the items inside the dict of monitors to wavelength using a pre-defined conversion graph.
- Parameters
data (scipp._scipp.core.DataArray) – The data from the measurement that is to be converted to wavelength.
monitors (dict) – A dict of monitors. All entries in the dict will be converted to wavelength.
data_graph (dict) – The coordinate transformation graph to be used for the data.
monitor_graph (dict) – The coordinate transformation graph to be used for the monitors.
- Return type