visualizecell_morphology_visualizer

cell_morphology_visualizer

Plot out the cell morphology and its activity during a simulation.

Provides functionality to plot out the cell morphology and its simulation data. This includes the cell morphology, membrane voltage, ion dynamics, and synapse activations. The data is parsed from a Cell object to a format that is easier to work with for visualization purposes. The data is then visualized using matplotlib (CellMorphologyVisualizer) and plotly (CellMorphologyInteractiveVisualizer).

Classes

CMVDataParser

Parse data from a Cell object to a format that is easier to work with for visualization purposes.

CellMorphologyVisualizer

Plot a cell morphology using matplotlib.

CellMorphologyInteractiveVisualizer

Plot an interactive 3D render of a cell morphology using Plotly and Dash.

Functions

get_3d_plot_morphology(lookup_table, colors, color_keyword, synapses, time_point, highlight_section_kwargs, camera_position, dpi, population_to_color_dict, save, plot, synapse_legend, legend, return_figax, proj_type)

Constructs a 3d matplotlib plot of a cell morphology, overlayed with some scalar data.