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
I think the demo assumes that you cd into pyret/docs in order load the tutorial-data.h5 dataset. What happens if you install via pip and not from source?
Also, once I've navigated to pyret/docs, I get this error:
AttributeError Traceback (most recent call last) <ipython-input-6-ec7d48997ae9> in <module>() 7 spikes = data_file['spike-times'] # Spike times for one cell 8 stimulus = data_file['stimulus'] ----> 9 stimulus -= stimulus.mean() 10 stimulus /= stimulus.std() 11 time = np.arange(stimulus.shape[0]) * data_file['stimulus'].attrs.get('frame-rate')
AttributeError: 'Dataset' object has no attribute 'mean'
I installed h5py, version 2.6.0.
The text was updated successfully, but these errors were encountered:
The demo does assume the working directory is pyret/docs. I've made that clearer in a new commit that will be merged into master soon. This also fixes the AttributeError you point out above.
I think the demo assumes that you
cd
into pyret/docs in order load thetutorial-data.h5
dataset. What happens if you install viapip
and not from source?Also, once I've navigated to pyret/docs, I get this error:
AttributeError Traceback (most recent call last)
<ipython-input-6-ec7d48997ae9> in <module>()
7 spikes = data_file['spike-times'] # Spike times for one cell
8 stimulus = data_file['stimulus']
----> 9 stimulus -= stimulus.mean()
10 stimulus /= stimulus.std()
11 time = np.arange(stimulus.shape[0]) * data_file['stimulus'].attrs.get('frame-rate')
AttributeError: 'Dataset' object has no attribute 'mean'
I installed h5py, version 2.6.0.
The text was updated successfully, but these errors were encountered: