aquaduct.traj.inlets module

class ProtoInletTypeCodes[source]
surface = ‘surface’
internal = ‘internal’
incoming = ‘inin’
outgoing = ‘inout’
class InletTypeCodes[source]

Bases: aquaduct.traj.inlets.ProtoInletTypeCodes

all_surface = [(‘surface’, ‘inin’), (‘surface’, ‘inout’)]
all_internal = [(‘internal’, ‘inin’), (‘internal’, ‘inout’)]
all_incoming = [(‘surface’, ‘inin’), (‘internal’, ‘inin’)]
all_outgoing = [(‘surface’, ‘inout’), (‘internal’, ‘inout’)]
surface_incoming = (‘surface’, ‘inin’)
internal_incoming = (‘internal’, ‘inin’)
internal_outgoing = (‘internal’, ‘inout’)
surface_outgoing = (‘surface’, ‘inout’)
itype = ‘internal’
class InletClusterGenericType(inp, out)[source]

Bases: object

__init__(inp, out)[source]
input
output
static cluster2str(cl)[source]
__getitem__(item)[source]
__len__()[source]
__str__()[source]
__repr__()[source]
make_val(base)[source]
__cmp__(other)[source]
__hash__()[source]
make_spherical(xyz)[source]
class InletClusterExtendedType(surfin, interin, interout, surfout)[source]

Bases: aquaduct.traj.inlets.InletClusterGenericType

__init__(surfin, interin, interout, surfout)[source]
generic
class Inlet(coords, type, reference)

Bases: tuple

__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

__getstate__()

Exclude the OrderedDict from pickling

static __new__(_cls, coords, type, reference)

Create new instance of Inlet(coords, type, reference)

__repr__()

Return a nicely formatted representation string

__slots__ = ()
_asdict()

Return a new OrderedDict which maps field names to their values

_fields = (‘coords’, ‘type’, ‘reference’)
classmethod _make(iterable, new=<built-in method __new__ of type object>, len=<built-in function len>)

Make a new Inlet object from a sequence or iterable

_replace(_self, **kwds)

Return a new Inlet object replacing specified fields with new values

coords

Alias for field number 0

reference

Alias for field number 2

type

Alias for field number 1

class Inlets(spaths, center_of_system=None, onlytype=[(‘surface’, ‘inin’), (‘surface’, ‘inout’)])[source]

Bases: object

__init__(spaths, center_of_system=None, onlytype=[(‘surface’, ‘inin’), (‘surface’, ‘inout’)])[source]
add_leaf_wrapper(name=None, message=None, toleaf=None)[source]
resize_leaf_0()[source]
add_message_wrapper(message=None, toleaf=None)[source]
extend_inlets(spath, onlytype=None)[source]
add_cluster_annotations(clusters)[source]
add_outliers_annotations(new_clusters)[source]
add_radii(radii)[source]
get_inlets_references()[source]
size
coords
types
refs
call_clusterization_method(method, data, radii=None)[source]
get_flat_tree(message=None)[source]
perform_clustering(method)[source]
perform_reclustering(method, skip_outliers=False, skip_size=None)[source]
recluster_cluster(method, cluster)[source]
recluster_outliers(method)[source]
small_clusters_to_outliers(maxsize)[source]
renumber_clusters()[source]
sort_clusters()[source]
clusters_list
clusters_centers
clusters_size
clusters_std
spaths2ctypes(*args, **kwargs)[source]
lim_to(what, towhat)[source]
lim2spaths(spaths)[source]
lim2types(types)[source]
lim2clusters(clusters)[source]
limspaths2(*args, **kwargs)[source]