This file contains hidden or 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
C:\Users\duke\dev\tvb\TVB_Distribution\bin>cmd /c tvb_clean | |
"Done" | |
C:\Users\duke\dev\tvb\TVB_Distribution\bin>cmd /c tvb_start | |
Found the first free port: 8080. | |
"Done" | |
C:\Users\duke\dev\tvb\TVB_Distribution\bin>Found the first free port: 8080. | |
C:\Users\duke\dev\tvb\TVB_Distribution\tvb_data\numpy\lib\utils.py:1132: DeprecationWarning: The compiler package is deprecated and removed in Python 3.x. | |
import compiler |
This file contains hidden or 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
import StringIO | |
import ConfigParser | |
import numpy as np | |
class VHDR(object): | |
""" | |
Brain Vision file. |
This file contains hidden or 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
""" | |
Simple wavelet decomposition viewer components | |
""" | |
import time | |
import numpy as np | |
import pywt | |
import pyqtgraph as pg |
This file contains hidden or 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
# auth: Lia Domide | |
import numpy | |
from tvb.adapters.uploaders.abcuploader import ABCUploader | |
from tvb.basic.logger.builder import get_logger | |
from tvb.datatypes.time_series import TimeSeries | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 hidden or 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
""" | |
TSPlot | |
====== | |
Provides class for efficient plotting of large time series data. | |
.. todo:: per signal scaling | |
.. todo:: integration with detection | |
.. todo:: handle showing markers from file (~?) |
This file contains hidden or 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
""" | |
Find DICOM runs and scans, and print first image (e.g. for launching FreeSurfer) | |
""" | |
import re | |
import os | |
import sys | |
path = sys.argv[1] |
This file contains hidden or 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
import openpyxl | |
def xl_find_cell(wb, value, ignore_case=True, test_in=True): | |
hits = [] | |
value = unicode(value) | |
if ignore_case: | |
value = value.lower() | |
for sheet in wb.worksheets: | |
for row in sheet.rows: |
This file contains hidden or 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
import numpy as np | |
import pyqtgraph as pg | |
class ColorBar(pg.GraphicsObject): | |
def __init__(self, cmap, width, height, ticks=None, tick_labels=None, label=None): | |
pg.GraphicsObject.__init__(self) | |
# handle args |