from_d_toTOF : conversion to time of flight from d-spacing

c3dp.reduction.from_d_toTOF.tof_from_d(d, angle, l1=14.699, l2=0.3, l3=0.5, xA=0.0, yA=0.0, zA=0.0)[source]

unit conversion from d spacing to time of flight

dfloat

d spacing in Angstrom.

anglefloat

scattering angles in degrees.

l1float

from source to guide exit distance in meters

l2float

from guide to sample distance in meters

l3float

from sample to detector distance in meters

xAfloat

pixel position along x-axis with respect to detector center in meters

yAfloat

pixel position along y-axis with respect to detector center in meters

zAfloat

pixel position along z-axis with respect to detector center in meters

Returns

Return type

time of flight in seconds