visualizecell_morphology_visualizerCellMorphologyVisualizerto_vtk

CellMorphologyVisualizer.to_vtk

visualize.cell_morphology_visualizer.CellMorphologyVisualizer.to_vtk(out_dir='.', fn='')

Write out the cell morphology to a VTK file.

Attention

This function does not support time series. It will write out the cell morphology without any scalar data.

Parameters:
  • out_dir (str) – path of the directory where the VTK file will be stored.

  • fn (str) – name of the VTK file. If empty, the file will be named after the cell’s .hoc filename.

Returns:

writes the .VTK file.

Return type:

None