forked from GazzolaLab/MiV-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GazzolaLab#29 from GazzolaLab/update-0.0.3
Merging 0.0.3 into main. Update mostly includes bugfix, test cases, and documentation. - Spike cutout visualization - PCA+GMM clustering - Wavelet decomposition - Spike sorting documentation - Data and DataManger module - Signal to noise utility - FFT plotting
- Loading branch information
Showing
60 changed files
with
2,302 additions
and
716 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
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ mypy: | |
coverage: | ||
@pytest --cov=miv tests/ | ||
|
||
all:test mypy | ||
all:test mypy coverage | ||
ci: test mypy |
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.
7 changes: 0 additions & 7 deletions
7
docs/api/_toctree/FilterAPI/miv.signal.filter.FilterCollection.rst
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
docs/api/_toctree/SpikeSortingAPI/miv.signal.spike.PCADecomposition.rst
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,13 @@ | ||
miv.signal.spike.PCADecomposition | ||
================================= | ||
|
||
.. currentmodule:: miv.signal.spike | ||
|
||
.. autoclass:: PCADecomposition | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~PCADecomposition.__init__ | ||
~PCADecomposition.project |
13 changes: 13 additions & 0 deletions
13
...pi/_toctree/SpikeSortingAPI/miv.signal.spike.SpikeFeatureExtractionProtocol.rst
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,13 @@ | ||
miv.signal.spike.SpikeFeatureExtractionProtocol | ||
=============================================== | ||
|
||
.. currentmodule:: miv.signal.spike | ||
|
||
.. autoclass:: SpikeFeatureExtractionProtocol | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~SpikeFeatureExtractionProtocol.__init__ |
13 changes: 13 additions & 0 deletions
13
docs/api/_toctree/SpikeSortingAPI/miv.signal.spike.SuperParamagneticClustering.rst
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,13 @@ | ||
miv.signal.spike.SuperParamagneticClustering | ||
============================================ | ||
|
||
.. currentmodule:: miv.signal.spike | ||
|
||
.. autoclass:: SuperParamagneticClustering | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~SuperParamagneticClustering.__init__ |
14 changes: 14 additions & 0 deletions
14
...tree/SpikeSortingAPI/miv.signal.spike.UnsupervisedFeatureClusteringProtocol.rst
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,14 @@ | ||
miv.signal.spike.UnsupervisedFeatureClusteringProtocol | ||
====================================================== | ||
|
||
.. currentmodule:: miv.signal.spike | ||
|
||
.. autoclass:: UnsupervisedFeatureClusteringProtocol | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~UnsupervisedFeatureClusteringProtocol.__init__ | ||
~UnsupervisedFeatureClusteringProtocol.fit | ||
~UnsupervisedFeatureClusteringProtocol.predict |
13 changes: 13 additions & 0 deletions
13
docs/api/_toctree/SpikeSortingAPI/miv.signal.spike.WaveletDecomposition.rst
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,13 @@ | ||
miv.signal.spike.WaveletDecomposition | ||
===================================== | ||
|
||
.. currentmodule:: miv.signal.spike | ||
|
||
.. autoclass:: WaveletDecomposition | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~WaveletDecomposition.__init__ | ||
~WaveletDecomposition.project |
6 changes: 6 additions & 0 deletions
6
docs/api/_toctree/StatisticsAPI/miv.statistics.spikestamps_statistics.rst
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,6 @@ | ||
miv.statistics.spikestamps\_statistics | ||
====================================== | ||
|
||
.. currentmodule:: miv.statistics | ||
|
||
.. autofunction:: spikestamps_statistics |
13 changes: 0 additions & 13 deletions
13
docs/api/_toctree/StatisticsAPI/miv.statistics.summarizer.StatisticsSummary.rst
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...toctree/VisualizationAPI/miv.visualization.fft_domain.plot_frequency_domain.rst
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,6 @@ | ||
miv.visualization.fft\_domain.plot\_frequency\_domain | ||
===================================================== | ||
|
||
.. currentmodule:: miv.visualization.fft_domain | ||
|
||
.. autofunction:: plot_frequency_domain |
6 changes: 6 additions & 0 deletions
6
.../api/_toctree/VisualizationAPI/miv.visualization.waveform.extract_waveforms.rst
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,6 @@ | ||
miv.visualization.waveform.extract\_waveforms | ||
============================================= | ||
|
||
.. currentmodule:: miv.visualization.waveform | ||
|
||
.. autofunction:: extract_waveforms |
6 changes: 6 additions & 0 deletions
6
docs/api/_toctree/VisualizationAPI/miv.visualization.waveform.plot_waveforms.rst
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,6 @@ | ||
miv.visualization.waveform.plot\_waveforms | ||
========================================== | ||
|
||
.. currentmodule:: miv.visualization.waveform | ||
|
||
.. autofunction:: plot_waveforms |
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,6 +1,8 @@ | ||
********************* | ||
Input / Output Module | ||
********************* | ||
******************** | ||
Data Managing Module | ||
******************** | ||
|
||
.. automodule:: miv.io.data | ||
|
||
.. automodule:: miv.io.binary | ||
:members: |
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,34 +1,7 @@ | ||
************************* | ||
Signal Processing Modules | ||
************************* | ||
********************* | ||
Signal Pre-Processing | ||
********************* | ||
|
||
.. automodule:: miv.signal.filter.filter_collection | ||
|
||
Filter | ||
###### | ||
|
||
.. currentmodule:: miv.signal.filter | ||
|
||
.. automodule:: miv.signal.filter | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
:toctree: _toctree/FilterAPI | ||
|
||
FilterProtocol | ||
ButterBandpass | ||
FilterCollection | ||
|
||
Spike Detection | ||
############### | ||
|
||
.. automodule:: miv.signal.spike | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
:toctree: _toctree/DetectionAPI | ||
|
||
SpikeDetectionProtocol | ||
ThresholdCutoff | ||
|
||
Spike Sorting | ||
############# | ||
.. automodule:: miv.signal.spike.detection |
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,5 @@ | ||
******************** | ||
Spike Sorting Module | ||
******************** | ||
|
||
.. automodule:: miv.signal.spike.sorting |
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,48 @@ | ||
******************* | ||
Visualization Tools | ||
******************* | ||
|
||
Plotting Tools | ||
============== | ||
|
||
DFT Plot | ||
-------- | ||
|
||
.. currentmodule:: miv.visualization | ||
|
||
.. automodule:: miv.visualization.fft_domain | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
:toctree: _toctree/VisualizationAPI | ||
|
||
plot_frequency_domain | ||
|
||
Spike Waveform Overlap | ||
---------------------- | ||
|
||
.. currentmodule:: miv.visualization | ||
|
||
.. automodule:: miv.visualization.waveform | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
:toctree: _toctree/VisualizationAPI | ||
|
||
extract_waveforms | ||
plot_waveforms | ||
|
||
Useful External Packages | ||
======================== | ||
|
||
Here are few external `python` packages that can also be used for visualization. | ||
|
||
Viziphant | ||
--------- | ||
|
||
`viziphant (elephant) documentation: <https://viziphant.readthedocs.io/en/latest/modules.html>`_ | ||
|
||
.. autosummary:: | ||
|
||
viziphant.rasterplot.rasterplot | ||
viziphant.rasterplot.rasterplot_rates |
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
Oops, something went wrong.