TangentImageHandler | R Documentation |
TangentImageHandler Class
TangentImageHandler Class
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
ref_point
A matrix of type dppMatrix
tangent_images
A list of dspMatrix objects
new()
TangentImageHandler$new(metric_obj, reference_point = NULL)
metric_obj
An rmetric object for operations.
reference_point
An 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)
new_ref_pt
A new reference point of class dppMatrix.
None. Computes the tangent images from the points in the manifold
compute_tangents()
TangentImageHandler$compute_tangents(manifold_points)
manifold_points
A list of connectomes
None Computes vectorizations from tangent images
compute_vecs()
TangentImageHandler$compute_vecs()
A matrix, each row of which is a vectorization Computes connectomes from tangent images
compute_conns()
TangentImageHandler$compute_conns()
A list of connectomes Setter for the tangent images
set_tangent_images()
TangentImageHandler$set_tangent_images(reference_point, tangent_images)
reference_point
A connectome
tangent_images
A list of tangent images
None Appends a matrix to the list of tangent images
add_tangent_image()
TangentImageHandler$add_tangent_image(image)
image
Matrix 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)
new_ref_pt
The new reference point
None
clone()
The objects of this class are cloneable with this method.
TangentImageHandler$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.