neuralib.dashboard.view_brain.TiffBrainView
- class neuralib.dashboard.view_brain.TiffBrainView[source]
Bases:
AbstractBrainView- property offset: int
- property brain_image: ndarray
- property height: float | None
- list_renders(pattern=None, recursive=False)
list all renders for those name contain pattern.
- Parameters:
pattern (str | None) – str in attribute name
recursive (bool) – recursive find all renders from
ViewComponentattributes.
- Returns:
- Return type:
list[GlyphRenderer]
- plot(fig, palette='Greys256')
plot data in figure.
- Parameters:
fig (figure) – Figure.
kwargs – plotting parameters.
- set_visible(visible, pattern=None)
Set the visible state of renders for those name contain pattern. It is a recursive function that it also update the renders inside the
ViewComponentattributes.- Parameters:
visible (bool)
pattern (str | None) – str in attribute name
- update(x=0, y=0)
update the plot
- Parameters:
x (float)
y (float)
- property width: float | None
- data_brain_slice: ColumnDataSource
- render_brain_slice: GlyphRenderer