compute_discrete_ec_curve: Computes the EC curve relative to the shape

View source: R/ec_computation.R

compute_discrete_ec_curveR Documentation

Computes the EC curve relative to the shape

Description

Computes the EC curve of a mesh on relative to the shape. The filtration steps for which the (S/D) EC curve are computed is done relative to the shape. For filtrations steps that are computed relative to a bounding ball, use compute_standardized_ec_curve. For comparisons with multiple shapes, this is not the recommended function.

Usage

compute_discrete_ec_curve(
  complex,
  vertex_function,
  curve_length,
  first_column_index = FALSE
)

Arguments

complex

(list) : The list containing metadata about the mesh; use process_off_filev3 to obtain this list from an off file, or convert_complex to convert existing mesh3d objects to this list.

vertex_function

(matrix): A matrix containing the projections of each vertex along a given direction. Computed as the dot product of the vertex onto the direction on the unit sphere.

curve_length

(int): The number of sub-level sets for which to compute the EC curve on in a given direction.

first_column_index

(boolean): Specifying the vertex index is included in the vertex function matrix.

Value

ec_curve (nx2 matrix): A matrix containing the EC curve of the given simplicial complex with the first index as the projections for which the EC was computed on.


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