Package

Motivation and background

tdaunif

tdaunif: Uniform manifold samplers for topological data analysis

Use samplers

Sample points from immersed manifolds using given parameterizations

sample_arch_spiral() sample_swiss_roll()

Sample (with noise) from archimedean spirals and swiss rolls

sample_circle() sample_circles_interlocked()

Sample (with noise) from circles

sample_disk()

Sample (with noise) from disk

sample_ellipse() sample_cylinder_elliptical()

Sample (with noise) from ellipses

sample_klein_tube() sample_klein_flat()

Sample (with noise) from Klein bottles

sample_lemniscate_gerono()

Sample (with noise) from lemniscates (figure eights)

sample_projective_plane()

Sample (with noise) from real projective planes

sample_2hemisphere() sample_2sphere() sample_sphere()

Sample (with noise) from a sphere

sample_strat_segment() sample_strat_square() sample_strat_cube() sample_stratify()

Stratified sample of any unit dimensional space

sample_torus_tube() sample_tori_interlocked() sample_torus_flat()

Sample (with noise) from tori

sample_trefoil()

Sample (with noise) from trefoil knot

sample_triangle_planar()

Sample (with noise) from planar triangles

Build samplers

Build custom samplers using general techniques

make_rejection_sampler()

Custom uniform rejection samplers

Utilities

Helper functions

add_noise()

Add noise to a sample

sample_strat_segment() sample_strat_square() sample_strat_cube() sample_stratify()

Stratified sample of any unit dimensional space