-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merging files from master: travis, examples/pipeline, integration-tes…
…t.sh, yass/util.py
- Loading branch information
Eduardo Blancas Reyes
committed
Sep 6, 2018
1 parent
0a847f5
commit c0f7779
Showing
8 changed files
with
28 additions
and
29 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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
import numpy as np | ||
import logging | ||
|
||
import yass | ||
from yass import preprocess | ||
from yass import detect | ||
from yass import cluster | ||
|
||
np.random.seed(0) | ||
|
||
# configure logging module to get useful information | ||
logging.basicConfig(level=logging.INFO) | ||
|
||
# set yass configuration parameters | ||
yass.set_config('config_sample.yaml') | ||
yass.set_config('config_sample.yaml', 'preprocess-example/') | ||
|
||
standarized_path, standarized_params, whiten_filter = preprocess.run() | ||
|
||
(score, spike_index_clear, | ||
(spike_index_clear, | ||
spike_index_all) = detect.run(standarized_path, | ||
standarized_params, | ||
whiten_filter) | ||
|
||
|
||
spike_train_clear, tmp_loc, vbParam = cluster.run( | ||
score, spike_index_clear) | ||
spike_train_clear, tmp_loc, vbParam = cluster.run(spike_index_clear) |
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
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