scippneutron.conversion.tof.wavelength_from_tof# scippneutron.conversion.tof.wavelength_from_tof(*, tof, Ltotal)[source]# Compute the wavelength from time-of-flight. The result is the de Broglie wavelength λ=htmnLtotal Where mn is the neutron mass and h the Planck constant. Parameters: tof (Variable) – Time-of-flight t. Ltotal (Variable) – Total beam length. Returns: Variable – Wavelength λ. Has unit ångström.