darsia.imread_from_vtu#
- imread_from_vtu(path, key, shape, **kwargs)[source]#
Read data with
meshioand map it onto a pixel grid.Only 1d and 2d vtu images are supported. Any format
meshiocan read should work in principle, but only vtu is tested.- Parameters:
- Returns:
darsia.ImageScalar image (space-time if a list of paths is given).