scan title motor values precision
Funny behaviour of the motor values precision in scan title. Both PyMca and silx_view display the same thing, silx.io.open as well:
TEXS [2]: ascan(xes_en_texs, 2.647, 2.650, 6, .2)
Out [2]: Scan(number=4, name=ascan,
path=/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5)
TEXS [6]: ascan(energy, 2.651, 2.651001, 3, .1)
Out [6]: Scan(number=7, name=ascan,
path=/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5)
TEXS [7]: ascan(energy, 2.651, 2.6511, 3, .1)
Out [7]: Scan(number=8, name=ascan,
path=/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5)
TEXS [8]: ascan(energy, 2.651, 2.65101, 3, .1)
Out [8]: Scan(number=9, name=ascan,
path=/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5)
TEXS [11]: ascan(simumot1, .0001, .000101,2, .1)
Out [11]: Scan(number=10, name=ascan,
path=/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5)
>>> sf = open('/data/id26/inhouse/id262105/id26/test_rixs_et/test_rixs_et_0002/test_rixs_et_0002.h5')
>>> sf.keys()
<KeysViewHDF5 ['1.1', '10.1', '2.1', '3.1', '4.1', '5.1', '6.1', '7.1', '8.1', '9.1']>
>>> sf['4.1/title'][()]
'ascan xes_en_texs 2.6 2.6 6 0.2'
>>> sf['9.1/title'][()]
'ascan energy 2.651 2.651 3 0.1'
>>> sf['10.1/title'][()]
'ascan simumot1 0.0001 0.0001 2 0.1'
Values in the motors positions (i.e. in the data plot) are OK (except for simumot1 in the example but this is probably a question of motor resolution).
>>> sf['4.1/measurement/xes_en_texs'][()]
array([2.64699954, 2.6474912 , 2.6480085 , 2.64850209, 2.64899687,
2.64950167, 2.64999683])