circle_bundles.DreimacCCConfig
- class circle_bundles.DreimacCCConfig(CircularCoords_cls, landmarks_per_patch=200, prime=41, update_frac=0.25, standard_range=False)[source]
Bases:
objectConfiguration object for Dreimac-based circular coordinates.
This dataclass specifies how Dreimac’s circular coordinates algorithm should be applied within local trivialization routines such as
compute_local_triv().- Parameters:
- CircularCoords_cls
The Dreimac circular coordinates class (e.g.
dreimac.CircularCoords).- Type:
Any
- landmarks_per_patch
Initial number of landmarks to use per patch. The algorithm may increase this value automatically if coverage is insufficient.
- Type:
int, default=200
- update_frac
Fractional increase applied to the number of landmarks when a retry is required.
- Type:
float, default=0.25
- standard_range
Whether to return angles in Dreimac’s standard range instead of wrapping to [0, 2π).
- Type:
bool, default=False
Notes
This configuration is passed as the
ccargument tocompute_local_triv().If a
total_metricis supplied tocompute_local_triv(), distance matrices are passed to Dreimac withdistance_matrix=True.The dataclass is frozen to emphasize its role as an immutable configuration object.
- __init__(CircularCoords_cls, landmarks_per_patch=200, prime=41, update_frac=0.25, standard_range=False)
Methods
__init__(CircularCoords_cls[, ...])Attributes