Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.66 KB

TUTORIAL_paraview.md

File metadata and controls

53 lines (37 loc) · 1.66 KB

PhysiCell Data Loader Tutorial: pcdl and Paraview

Paraview is a free and open source scientific visualization software, that lets us load and analyze vtk rectilinear grid data and vtk polynomial data, and even ome.tiff data files.

Install paraview

For installation, please follow the official documentation.

Generate vtk files from the command line

pcdl_make_conc_vtk output
pcdl_make_cell_vtk output

Generate vtk files from within python

import pcdl

mcdsts = pcdl.TimeSeries('output/')
mcdsts.make_conc_vtk()
mcdsts.make_cell_vtk()

Load vtk files with paraview

  1. View / Pipeline Browser has to be checked!
  2. View / Properties has to be checked!
  3. File / Open... path/to/PhysiCell/output/output.._conc.vtr [OK]
  4. File / Open... path/to/PhysiCell/output/output.._cell.vtp [OK]
  5. In the Pipeline Browser, click the closed eyes, so that they open.
  6. In the Pipeline Browser, click the output00000000_cell.vtp* and under Properties Coloring select cell_type in the dropdown menu.
  7. In the Pipeline Browser, click the output00000000_conc.vtr* and under Properties Coloring select the oxygen in the dropdown menu.

For learning more about how to run the software, please work through the official documentation.

That's it. The rest is analysis within paraview!