pymem3dg.visual

Description

Functions

animate(trajNc[, parameters, frames, ...])

Animate netcdf trajectory file

getColorbar(fig, range[, orientation, ...])

Generate color map

interlaceImages(fileList, videoName)

Helper to interlace images to video.

matplotlibStyle([small_size, medium_size, ...])

Helper to set matplotlib style

overlayColorbar()

Helper to overlay colorbar to image files

plotChemicalPotentials(ax, trajFile, parameters)

plot (components of) chemical potential

plotEnergy(ax, trajFile[, parameters, ...])

Plot (components of) energy :param ax: matplotlib Axes instance :type ax: matplotlib.axes.Axes :param trajFile: trajectory file name :type trajFile: str :param parameters: pymem3dg Parameters instance :type parameters: pymem3dg.Parameters :param zeroing: if shift the final energy state to zero.

plotMechanicalForces(ax, trajFile, parameters)

Plot (components of) mechanical forces

plotProteinDensity(ax, trajFile[, frames])

plot protein density :param ax: matplotlib Axes object :type ax: matplotlib.axes.Axes :param trajFile: netcdf trajectory file name :type trajFile: str :param parameters: pymem3dg Parameters instance :type parameters: pymem3dg.Parameters :param frames: list of frames to plot.

plotScreenshot(ax, pngFile, clim, label[, ...])

Helper to plot image file on axis

polyscopeStyle([setLengthScale])

Helper to set polyscope style

setPolyscopePermutations(psmesh, face, vertex)

set polyscope permutation convention

visualizeGeometry(geometry[, showBasics])

visualize pymem3dg.Geometry

visualizePly(plyFile, *vertexData)

Visualize .ply file using polyscope