Skip to content

Commit c4c4ef1

Browse files
committed
add pyqtgraph upgrade instructions
1 parent 20d1b24 commit c4c4ef1

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

viewspikes/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Pre-requisites:
1313
```
1414
conda activate iblenv
1515
pip install easyqc
16+
pip install -U pyqtgraph
1617
```

viewspikes/examples.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from oneibl.one import ONE
88
from ibllib.ephys import neuropixel
99
from ibllib.dsp import voltage
10-
from ibllib.plots import color_cycle
1110
from brainbox.plot import driftmap
1211

1312
from needles2 import run_needles2
@@ -49,14 +48,3 @@
4948

5049
# Do the driftmap
5150
driftmap(spikes['times'], spikes['depths'], t_bin=0.1, d_bin=5, ax=axes[1])
52-
53-
54-
# eqc_concat = viewseis(np.r_[butt, destripe, ks2], si=1 / sr.fs, h=hhh, t0=t0, title='concat')
55-
# overlay_spikes(eqc_concat, spikes, clusters, channels)
56-
from easyqc import qt
57-
import datetime
58-
qtapp = qt.create_app()
59-
screenshot = qtapp.primaryScreen().grabWindow(eqc_butt.winId())
60-
61-
fn = datetime.datetime.now().strftime('%Y-%m-%dT%H-%M-%S')
62-
screenshot.save(f'/home/olivier/Pictures/{fn}.png', 'png')

0 commit comments

Comments
 (0)