create_ec_matrix_mult_d: Create EC matrix from meshes.

View source: R/mesh_functions.R

create_ec_matrix_mult_dR Documentation

Create EC matrix from meshes.

Description

Create an EC curve matrix given an input directory and set of directions to compute the (S/D) EC curve over. Each row corresponds to one mesh, and the columns correspond to the sub-level sets of the directions in the matrix.

Usage

create_ec_matrix_mult_d(
  directory,
  directions,
  len,
  ball_radius = 1,
  ball = FALSE,
  ec_type = "ECT"
)

Arguments

directory

(string): : The input directory of the meshes.

directions

(nx3 matrix): : The matrix of directions to compute the (S/D) EC curve over.

len

(int): The number of sub-level sets to compute the (S/D) EC curve on in each direction.

ball_radius

(float): The radius of the ball to compute the (S/D) EC on; if you want the curve to be computed relative to the shape, don't touch this parameter.

ball

(boolean): Determining whether or not to compute the (S/D) EC curve on a ball for uniform comparisons.

ec_type

(string): What type of EC curve to compute. Currently we support ECT (Euler Characteristic Curve), SECT (Smooth Euler Characteristic Curve) and DECT (Differentiated Euler Characteristic Curve). We use ECT in the papers.

Value

data (matrix): The matrix of (S/D) EC curves of the meshes in the input directory.


lcrawlab/SINATRA documentation built on Sept. 13, 2023, 2 p.m.