-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
103 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Version 1.5.0 | ||
------------- | ||
|
||
2021-09-09 | ||
|
||
Compatibility | ||
............. | ||
|
||
Support for Python < 3.7 and for PyQt4 were dropped. | ||
|
||
* Add compatibility with Neo 0.10.0 | ||
(:pr:`151`, :pr:`157`, :pr:`159`) | ||
|
||
* Add PySide2 support | ||
(:pr:`148`) | ||
|
||
New data sources | ||
................ | ||
|
||
* Add data sources for SpikeInterface recording and sorting objects | ||
(:pr:`153`) | ||
|
||
Continuous integration | ||
...................... | ||
|
||
* Run automated test suite with GitHub Actions | ||
(:pr:`137`, :pr:`138`, :pr:`142`, :pr:`145`, :pr:`149`) | ||
|
||
* Add manually-triggerable GitHub Action workflows for publishing to PyPI | ||
(:pr:`140`) | ||
|
||
* Add Coveralls test coverage reporting | ||
(:pr:`144`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = '1.4.1.dev' | ||
version = '1.5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
""" | ||
Here is an example of opening viewers directly from spikeinterface objects : recording and sorting. | ||
In this example, recording and sorting are fake ones generated by spikeinterface but of you course | ||
you can use any format supported by spikeinterface. | ||
Note that you can display any lazy preprocessor from | ||
`spikeinterface.toolkit.preprocessing` (filtering, denoising, whittening, ...) so you can see immediatly | ||
the clean signal. | ||
""" | ||
import ephyviewer | ||
import spikeinterface.full as si | ||
from spikeinterface.core.testing_tools import generate_recording, generate_sorting | ||
|
||
|
||
recording = generate_recording() | ||
sig_source = ephyviewer.SpikeInterfaceRecordingSource(recording=recording) | ||
|
||
filtered_recording = si.bandpass_filter(recording, freq_min=60., freq_max=100.) | ||
sig_filtered_source = ephyviewer.SpikeInterfaceRecordingSource(recording=filtered_recording) | ||
|
||
sorting = generate_sorting() | ||
spike_source = ephyviewer.SpikeInterfaceSortingSource(sorting=sorting) | ||
|
||
app = ephyviewer.mkQApp() | ||
win = ephyviewer.MainViewer(debug=True, show_auto_scale=True) | ||
|
||
view = ephyviewer.TraceViewer(source=sig_source, name='signals') | ||
win.add_view(view) | ||
|
||
view = ephyviewer.TraceViewer(source=sig_filtered_source, name='signals filtered') | ||
win.add_view(view) | ||
|
||
view = ephyviewer.SpikeTrainViewer(source=spike_source, name='spikes') | ||
win.add_view(view) | ||
|
||
|
||
win.show() | ||
app.exec_() | ||
|