tmd_to_x3p | R Documentation |
TMD files are used in telemetry, specifically, they are a native format used by GelSight to store 3d topographic surface scans.
tmd_to_x3p(tmd_path, yaml_path = NA, verbose = TRUE)
tmd_path |
path to TMD file |
yaml_path |
path to corresponding yaml file with meta information.
If set to |
verbose |
boolean |
The algorithm is based on GelSight's MatLab routine readtmd.m
published as
part of the Github repository
gelsightinc/gsmatlab
x3p file of the scan. Some rudimentary information will be filled in, information of scanning process, and parameter settings need to be added manually.
#x3p <- tmd_to_x3p("~/Downloads/Sc04.Pl044.Ma4.SB.An80.Pb.DirFo.SizL.tmd") #
#x3p <- tmd_to_x3p("~/Downloads/Sc04.Pl044.Ma4.SB.An80.Pb.DirFo.SizL.tmd",
# yaml_path="~/Downloads/scan.yaml") #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.