mvpa2.misc.neighborhoodΒΆ
Neighborhood objects
Functions
array (object[, dtype, copy, order, subok, ndmin]) |
Create an array. |
borrowdoc (cls[, methodname]) |
Return a decorator to borrow docstring from another cls .`methodname` |
borrowkwargs (cls[, methodname, exclude]) |
Return a decorator which would borrow docstring for **kwargs |
cartesian_distance (a, b) |
Return Cartesian distance between a and b |
idhash_ (val) |
Craft unique id+hash for an object |
is_sequence_type |
isSequenceType(a) – Return True if a has a sequence type, False otherwise. |
scatter_neighborhoods (neighbor_gen, coords) |
Scatter neighborhoods over a coordinate list. |
Classes
CachedQueryEngine (queryengine) |
Provides caching facility for query engines. |
HollowSphere (radius, inner_radius[, ...]) |
N-Dimensional hypersphere with a hollow internal sphere |
IdentityNeighborhood () |
Trivial neighborhood. |
IndexQueryEngine ([sorted]) |
Provides efficient query engine for discrete spaces. |
QueryEngine (\*\*kwargs) |
Basic class defining interface for querying neighborhood in a dataset |
QueryEngineInterface |
Very basic class for QueryEngine s defining the interface |
Sphere (radius[, element_sizes, distance_func]) |
N-Dimensional hypersphere. |