aquaduct.traj.paths module

union_full(a, b)[source]
union_smartr(a, b)[source]
union(a, b, smartr=True)[source]
glue(a, b)[source]
xor_full(*args, **kwargs)[source]
xor_smartr(*args, **kwargs)[source]
xor(a, b, smartr=True)[source]
left(a, b, smartr=True)[source]
right(a, b, smartr=True)[source]
class SmartRangeFunction(element, times)[source]

Bases: object

__init__(element, times)[source]
__repr__()[source]
get()[source]
rev()[source]
isin(element)[source]
class SmartRangeEqual(element, times)[source]

Bases: aquaduct.traj.paths.SmartRangeFunction

get()[source]
rev()[source]
isin(element)[source]
class SmartRangeIncrement(element, times)[source]

Bases: aquaduct.traj.paths.SmartRangeFunction

get()[source]
rev()[source]
isin(element)[source]
class SmartRangeDecrement(element, times)[source]

Bases: aquaduct.traj.paths.SmartRangeFunction

get()[source]
rev()[source]
isin(element)[source]
class SmartRange(iterable=None)[source]

Bases: object

__init__(iterable=None)[source]
last_element()[source]
last_times()[source]
raw
append(element)[source]
get()[source]
rev()[source]
__len__()[source]
min()[source]
max()[source]
isin(element)[source]
class PathTypesCodes[source]
path_in_code = ‘i’
path_object_code = ‘c’
path_out_code = ‘o’
class GenericPathTypeCodes[source]
object_name = ‘c’
scope_name = ‘s’
out_name = ‘n’
class GenericPaths(id_of_res, min_pf=None, max_pf=None)[source]

Bases: object, aquaduct.traj.paths.GenericPathTypeCodes

__init__(id_of_res, min_pf=None, max_pf=None)[source]
types
frames
max_frame
min_frame
add_coord(coord)[source]
add_object(frame)[source]
add_scope(frame)[source]
add_type(frame, ftype)[source]
_gpo()[source]
_gpi()[source]
get_paths_in()[source]
get_paths_out()[source]
find_paths(fullonly=False, smartr=True)[source]
find_paths_coords_types(fullonly=False)[source]
get_single_path_coords_types(spath)[source]
barber_with_spheres(spheres)[source]
class SinglePathID(path_id=None, nr=None)[source]

Bases: object

__init__(path_id=None, nr=None)[source]
__str__()[source]
__eq__(other)[source]
__ne__(other)[source]
yield_single_paths(gps, fullonly=False, progress=False)[source]
class SinglePath(path_id, paths, coords, types)[source]

Bases: object, aquaduct.traj.paths.PathTypesCodes, aquaduct.traj.inlets.InletTypeCodes

empty_coords = array([], shape=(0, 3), dtype=float64)
__init__(path_id, paths, coords, types)[source]
path_in
path_object
path_out
types_in
types_object
types_out
coords_first_in
coords_last_out
coords_filo
get_inlets()[source]
coords
coords_cont
paths
paths_cont
types
types_cont
gtypes
gtypes_cont
etypes
etypes_cont
size
begins
ends
has_in
has_object
has_out
get_coords(*args, **kwargs)[source]
get_coords_cont(smooth=None)[source]
_make_smooth_coords(*args, **kwargs)[source]
apply_smoothing(smooth)[source]
get_distance_cont(smooth=None, normalize=False)[source]
get_distance_rev_cont(*args, **kwargs)[source]
get_distance_both_cont(*args, **kwargs)[source]
get_velocity_cont(*args, **kwargs)[source]
get_acceleration_cont(*args, **kwargs)[source]
_SinglePath__paths
class MasterPath(sp)[source]

Bases: aquaduct.traj.paths.SinglePath

__init__(sp)[source]
add_width(width)[source]