Sampling rate is saved in HDF files as attributes, i.e. h.root.data_pool.dict_result._v_attrs["sampling_rate"]
Fixes T95
This commit is contained in:
parent
30fc39eb04
commit
7511f6df94
@ -232,6 +232,7 @@ class ADC_Result(Resultable, Drawable, DamarisFFT, Signalpath):
|
||||
if self.description is not None:
|
||||
for (key,value) in self.description.iteritems():
|
||||
accu_group._v_attrs.__setattr__("description_"+key,str(value))
|
||||
accu_group._v_attrs.__setattr__("sampling_rate",self.sampling_rate)
|
||||
|
||||
# save interval information
|
||||
filter=None
|
||||
|
@ -428,7 +428,7 @@ class Accumulation(Errorable, Drawable, DamarisFFT, Signalpath):
|
||||
if self.common_descriptions is not None:
|
||||
for (key,value) in self.common_descriptions.iteritems():
|
||||
accu_group._v_attrs.__setattr__("description_"+key,str(value))
|
||||
|
||||
accu_group._v_attrs.__setattr__("sampling_rate",self.sampling_rate)
|
||||
# save interval information
|
||||
filter=None
|
||||
if complib is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user