storage.save(config=self.config, group=config_cwg)
afm_piezo_cwg = _h5_create_group(config_cwg, 'afm/piezo')
storage.save(config=self.afm.piezo.config, group=afm_piezo_cwg)
- f['timestamp'] = timestamp
+ f['/environment/timestamp'] = timestamp
+ x_axis_name = 'x'
+ f['/environment/{}-position/data'.format(x_axis_name)
+ ] = self.afm.piezo.last_output[x_axis_name]
if temperature is not None:
- f['temperature'] = temperature
+ f['/environment/temperature'] = temperature
for k,v in approach.items():
f['approach/{}'.format(k)] = v
for k,v in unfold.items():