QDpy
Loading...
Searching...
No Matches
grids.py File Reference

Rectangular, centroidal, and autoscaling archives with per-cell quality. More...

Go to the source code of this file.

Classes

class  qdpy.containers.grids.Grid
class  qdpy.containers.grids.CVTGrid
class  qdpy.containers.grids.AutoScalingGrid

Namespaces

namespace  qdpy

Functions

 qdpy.containers.grids._bin_index (value, low, high, size, width)
 qdpy.containers.grids._stable_nearest (centers, descriptors)

Variables

 qdpy.containers.grids.GridSolutionsLike = MutableMapping[GridIndexLike, MutableSequence]
 GRID-BASED CLASSES ########### {{{2.

Detailed Description

Rectangular, centroidal, and autoscaling archives with per-cell quality.

Definition in file grids.py.

Function Documentation

◆ _bin_index()

qdpy.containers.grids._bin_index ( value,
low,
high,
size,
width )
protected
Return the native rectangular bin for a coordinate inside its interval.

Definition at line 52 of file grids.py.

◆ _stable_nearest()

qdpy.containers.grids._stable_nearest ( centers,
descriptors )
protected
Compare distances when squaring would lose their ordering.

Definition at line 59 of file grids.py.