Scan example with the combination motor lxt_ttc and three delay points -1, 0 and 1 ps: > RE(time_scans.time_scan(lxt_ttc, [-1e-12, 0, 1e-12], events=120*20, ntimes=2, randomize=True, record=True)), can also use scan the motor lxt or txt.
lxt, txt and lxt_ttc are all in the unit of seconds
It takes list instead of nd.array for the delay points
Option to randomize
It will randomize the time points each time it starts or repeats the scan
Give each delay point >=20s accumulation time
We should use the combination motor lxt_ttc for small scanning range to take advantage of the time tool correction for better time resolution
We should use the electronic motor lxt for big scanning range (hundreds ps to ns) to avoid messing up with the alignment of the txtmotor
Pixel to fs calibration of the time tool can be done with either the lxt or txt motor, the window of the time tool detector is about 2-3 ps
> daq.disconnect()will release the DAQ back to the AMI GUI from hutch python