A user was trying to use the output of this module directly instead of the builtin plotting utility. It turned out that was difficult without looking at the code because some fields of the dataclasses lack docstrings and thus do not appear in the API docs. Example:
|
self.time = time.to(unit='s', copy=False) |
|
self.wavelength = wavelength.to(unit='angstrom', copy=False) |
A user was trying to use the output of this module directly instead of the builtin plotting utility. It turned out that was difficult without looking at the code because some fields of the dataclasses lack docstrings and thus do not appear in the API docs. Example:
scippneutron/src/scippneutron/tof/chopper_cascade.py
Lines 63 to 64 in fefeafe