Hi Chris, thanks for pointing out the version. I installed the 0.59.4 using pip and then ran the notebook above. This time I am stucked at this line:
from pycroscopy.processing.signal_filter import SignalFilter
sig_filt = SignalFilter(h5_main, frequency_filters=frequency_filters,
noise_threshold=noise_tol, write_filtered=True,
write_condensed=False, num_pix=1)
The error message is:
KeyError Traceback (most recent call last)
<ipython-input-13-05aba438e9f4> in <module>()
9 sig_filt = SignalFilter(h5_main, frequency_filters=frequency_filters,
10 noise_threshold=noise_tol, write_filtered=True,
---> 11 write_condensed=False, num_pix=1)
~\Anaconda3\envs\py36\lib\site-packages\pycroscopy\processing\signal_filter.py in __init__(self, h5_main, frequency_filters, noise_threshold, write_filtered, write_condensed, num_pix, phase_rad, **kwargs)
108
109 self.process_name = 'FFT_Filtering'
--> 110 self.duplicate_h5_groups = self._check_for_duplicates()
111
112 self.data = None
~\Anaconda3\envs\py36\lib\site-packages\pycroscopy\processing\process.py in _check_for_duplicates(self)
109 List of groups satisfying the above conditions
110 """
--> 111 duplicate_h5_groups = check_for_old(self.h5_main, self.process_name, new_parms=self.parms_dict)
112 if self.verbose:
113 print('Checking for duplicates:')
~\Anaconda3\envs\py36\lib\site-packages\pycroscopy\io\hdf_utils.py in check_for_old(h5_base, tool_name, new_parms, verbose)
1535 """
1536
-> 1537 groups = findH5group(h5_base, tool_name)
1538
1539 for group in groups:
~\Anaconda3\envs\py36\lib\site-packages\pycroscopy\io\hdf_utils.py in findH5group(h5_main, tool_name)
338 for key in parent_grp.keys():
339 if dset_name in key and tool_name in key:
--> 340 groups.append(parent_grp[key])
341 return groups
342
h5py\_objects.pyx in h5py._objects.with_phil.wrapper()
h5py\_objects.pyx in h5py._objects.with_phil.wrapper()
~\Anaconda3\envs\py36\lib\site-packages\h5py\_hl\group.py in __getitem__(self, name)
175 raise ValueError("Invalid HDF5 object reference")
176 else:
--> 177 oid = h5o.open(
self.id, self._e(name), lapl=self._lapl)
178
179 otype = h5i.get_type(oid)
h5py\_objects.pyx in h5py._objects.with_phil.wrapper()
h5py\_objects.pyx in h5py._objects.with_phil.wrapper()
h5py\h5o.pyx in h5py.h5o.open()
KeyError: 'Unable to open object (bad object header version number)'
Please help! thanks a lot.