morphogen.io.export¶
One entry point for every export: export() writes an object to the format of the
suffix of its path, choosing the writer from the object and the suffix.
object |
suffixes |
|---|---|
voxel image |
.vti .vtk .xdmf .mhd .npz .npy .tif (data); .png .svg .pdf .tex
(sections); .csv .txt .xlsx (voxels); .mp4 .gif ( |
mesh (tetrahedra, |
.vtu .inp .msh .mesh .xdmf .stl and meshio’s (data); .png (a view); |
voxels, surface) |
.csv .txt .xlsx (nodes and elements); .mp4 .gif ( |
microstructure |
.json .csv .geo; the others voxelized ( |
band structure |
.csv .txt .xlsx (the bands); figure suffixes (the plot) |
bifurcation analysis |
.csv .txt .xlsx (irreps and patterns); .vtu (patterns of a mesh);
figure suffixes with |
loading path result |
.csv .txt .xlsx (its curve) |
frame of beams |
.mp4 .gif with |
matplotlib figure |
.png .tif .jpg .svg .pdf .eps .tex |
frames (RGB arrays) |
.mp4 .gif or a folder |
table |
.csv .txt .tsv .xlsx (records, columns, an array) |
Videos take fps, mode (“once”, “loop”, “bounce”) and repeat; 3D views cmap,
clim, size; field animations magnification, wave and section.