You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To save file space and avoid recording the same giant time vector in every file, we changed the way my picoscope code returns data. It seems like maybe the associated changes never made it into your code base.
won't work any more.
Instead, you should just add the attributes I now provide to the y_data dataset so that I can reconstruct the time vector in my analysis. Your write_datasets function might then become something like this:
def write_datasets(self, h5g):
y_dset = h5g.create_dataset('y_data', data=self.data['current'], compression='gzip')
for key, value in self.data:
if key != 'current':
y_dset.attrs[key] = value
for attr, value in self._ps.getMetadata().items():
h5g.attrs[attr] = value
See the example usage code for my picoscope library here:
To save file space and avoid recording the same giant time vector in every file, we changed the way my picoscope code returns data. It seems like maybe the associated changes never made it into your code base.
data-coolection/lib/data_coolection.py
Line 615 in 5626d9a
won't work any more.
Instead, you should just add the attributes I now provide to the y_data dataset so that I can reconstruct the time vector in my analysis. Your
write_datasets
function might then become something like this:See the example usage code for my picoscope library here:
https://github.com/uio-ess/ps-control/blob/2dbc94a7bd070f774f9c1b3764bb3d7099b30cd1/exampleUsage.py#L41-L45
The text was updated successfully, but these errors were encountered: