You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for updating the code! It works now. I thought about using ephyviewer routinely in my lab, but conventionally, we have used to a different layout for the viewer written in matlab, which is not supported in the current ephyviewer. Our layout contains traces, single units and CSD in the following way.
The units can be clustered (Klusta, SpykingCircus, Tridesclous)
I would really appreciate if you could suggest, how I can recreate the same layout the right way using ephyviewer. I can code and stuff. The CSD interface I can take from the elephant, and units - from spikeinterface.
Regards,
Mike
The text was updated successfully, but these errors were encountered:
Hi @sin-mike.
Really happy to see you here.
You are welcome.
Making this soud totally feasable in ephyviewer.
You would need to make your own viewer thet display in the same canvas all this (csd+spikes+signals).
All veiwer inherits ViewerBase
class ViewerBase(QT.QWidget):
time_changed = QT.pyqtSignal(float)
def __init__(self, name='', source=None, **kargs):
QT.QWidget.__init__(self, **kargs)
self.name = name
self.source = source
self.t = 0.
def seek(self, t):
self.t = t
self.refresh()
def refresh(self):
#overwrite this one
raise(NotImplementedError)
def set_settings(self, value):
pass
def get_settings(self):
return None
def auto_scale(self):
pass
you need to overwrite __init__ and refresh.
The maine idea is when the time change then the widget is refresh.
The complicated in some viewer that the datat retrieve is done in background with a thread.
But you can do immediate refresh wich would make the think less smooth.
All stuf here are done with pyqtgraph but you could normally make a matplotlib viewer based inside QT if it is simpler to you.
Dear devs
Thank you for updating the code! It works now. I thought about using ephyviewer routinely in my lab, but conventionally, we have used to a different layout for the viewer written in matlab, which is not supported in the current ephyviewer. Our layout contains traces, single units and CSD in the following way.
The units can be clustered (Klusta, SpykingCircus, Tridesclous)
I would really appreciate if you could suggest, how I can recreate the same layout the right way using ephyviewer. I can code and stuff. The CSD interface I can take from the elephant, and units - from spikeinterface.
Regards,
Mike
The text was updated successfully, but these errors were encountered: