Scan display: better column formating
Reported by @wright:
- The d2scan command is not formatted with
(,)
for copy+paste into a python script. - Column widths are given by the length of the titles rather than the column contents.
Scan 92 Fri Mar 27 13:48:30 2020 /data/id11/inhouse2/blc12015e/id11/test1/test1_0001/test1_0001.h5 optics
user = blissadm
d2scan llrz1 0.05 -0.05 llrz2 0.05 -0.05 500 0.1
# dt[s] llrz1[deg] llrz2[deg] encoder:llrz1_enc:position encoder:llrz1_enc:position_error encoder:llrz1_enc:position_raw encoder:llrz2_enc:position encoder:llrz2_enc:position_error encoder:llrz2_enc:position_raw pico0
0 0 2.68577 2.6875 6.31601 -0.00106983 6.31622 -6.67808 -0.00229785 -6.67796 43.1761
1 1.13273 2.68472 2.68509 6.31495 -9.92409e-05 6.31505 -6.68045 -8.07495e-06 -6.68044 43.0731
If you want to keep the title alignment the please squeeze the columns closer. Perhaps split on ":" or come up with shorter naming. e.g.
encoder:
llrz1_enc:
# position_error
0 0.00123