TangentImageHandler Class
TangentImageHandler Class
ref_pointA matrix of type dppMatrix
tangent_imagesA list of dspMatrix objects
new()TangentImageHandler$new(metric_obj, reference_point = NULL)metric_objAn rmetric object for operations.
reference_pointAn optional reference point on the manifold.
A new instance of TangentImageHandler. Set a new reference point.
set_reference_point()If tangent images have been created, it recomputes them by mapping to the manifold and then to the new tangent space.
TangentImageHandler$set_reference_point(new_ref_pt, progress = FALSE)new_ref_ptA new reference point of class dppMatrix.
progressLogical indicating whether to show progress (default: FALSE)
None. Computes the tangent images from the points in the manifold
compute_tangents()TangentImageHandler$compute_tangents(manifold_points, progress = FALSE)manifold_pointsA list of connectomes
progressLogical indicating whether to show progress (default: FALSE)
None Computes vectorizations from tangent images
compute_vecs()TangentImageHandler$compute_vecs(progress = FALSE)progressLogical indicating whether to show progress (default: FALSE)
A matrix, each row of which is a vectorization Computes connectomes from tangent images
compute_conns()TangentImageHandler$compute_conns(progress = FALSE)progressLogical indicating whether to show progress (default: FALSE)
A list of connectomes Setter for the tangent images
set_tangent_images()TangentImageHandler$set_tangent_images(reference_point, tangent_images)reference_pointA connectome
tangent_imagesA list of tangent images
None Appends a matrix to the list of tangent images
add_tangent_image()TangentImageHandler$add_tangent_image(image)imageMatrix to be added
get_tangent_images()TangentImageHandler$get_tangent_images()list of tangent matrices Wrapper for set_reference_point
relocate_tangents()TangentImageHandler$relocate_tangents(new_ref_pt, progress = FALSE)new_ref_ptThe new reference point
progressLogical indicating whether to show progress (default: FALSE)
None
clone()The objects of this class are cloneable with this method.
TangentImageHandler$clone(deep = FALSE)deepWhether to make a deep clone.
This class handles tangent images on a manifold. It provides methods to set a reference point, compute tangents, and perform various operations using a provided metric. Initialize the TangentImageHandler
Error if the tangent images have not been specified
Error if the reference point is not an object of class dppMatrix
Error if the matrix is not of type dspMatrix Tangent images getter