openalea.ratp.RATP2VTK#

Functions

RATP2VTK(scene, variable[, varname, nomfich])

Display leaves colored by voxel values with Paraview for each entity Scene is written in VTK Format as an unstructured grid Inputs: ... a RATP variable = liste de float ... a scene plant GL composed of triangulated leaves Outputs: ... a VTK file T = all.Tesselator() sce[0].apply(T) T.result.

RATPVOXELS2VTK(grid, variable[, varname, ...])

Display Voxels colored by variable with Paraview RATP Grid is written in VTK Format as a structured grid Inputs: ... variable : a list of 3 arrays composed of the a RATP variable to be plotted, corresponding entities, and Voxel ID ... grid : the RATP grid ... varname: name of the variable to be plotted ... nomfich: the VTK filename and path Outputs: ... a VTK file.

extract_dataframe(df, ColName, Day, Hour)

A function to extract a day+hour +variable of interest from a pandas data frame.

is_notebook()

ratp2vtk(scene, variable[, varname, nomfich])

Display leaves colored by voxel values with Paraview for each entity Scene is written in VTK Format as an unstructured grid Inputs: ... a RATP variable = liste de float ... a scene plant GL composed of triangulated leaves Outputs: ... a VTK file T = all.Tesselator() sce[0].apply(T) T.result.

ratpvoxels2pyvista(grid, variable, varname)

A function to create a visualisation of a voxel file using PyVista.

ratpvoxels2vtk(grid, variable[, varname, ...])

Display Voxels colored by variable with Paraview RATP Grid is written in VTK Format as a structured grid Inputs: ... variable : a list of 3 arrays composed of the a RATP variable to be plotted, corresponding entities, and Voxel ID ... grid : the RATP grid ... varname: name of the variable to be plotted ... nomfich: the VTK filename and path Outputs: ... a VTK file.

Classes

pyratpviewer(grid, df)