Reads the nodes from the source template file, which can be either a .key/.k file or a .csv file. Returns a DataFrame containing the node x, y, and z displacements.
Type
Details
path_to_file
str
Path to file containing source template from the config file.
Returns
DataFrame
Numpy array of shape [n_nodes, x,y,z_displacement]
Reads landmarks from a file, which can be in .csv, .key, or .k format. Returns a DataFrame containing the landmarks with the following columns, ID label and x, y, z coordinates.
Type
Details
path_to_file
str
File containing Landmarks
Returns
DataFrame
Dataframe of length [n_landmarks]. Columns format [ID - label, x,y,z]