elektronn2.data.tracing_utils module¶
-
class
elektronn2.data.tracing_utils.
Tracer
(model, z_shift=0, data_source=None, bounding_box_zyx=None, trace_kwargs={'aniso_scale': 2}, modus='m', shotgun_registry=None, registry_interval=None, reference_radius=18.0)[source]¶ Bases:
object
-
trace
(position_l, direction_il, count, gamma=0, trace_xyz=None, linked_skel=None, check_for_lost_track=True, check_for_uturn=False, check_bb=True, profile=False, info_str=None, reject_obb_traces=False, initial_scale=None)[source]¶ Although psoition_l is in zyx order, the returned trace_obj is in xyz order
-
-
class
elektronn2.data.tracing_utils.
CubeShape
(shape, offset=None, center=None, input_excess=None, bbox_reduction=None)[source]¶ Bases:
object
-
class
elektronn2.data.tracing_utils.
ShotgunRegistry
(seeds_zyx, registry_extent, directions=None, debug=False, radius_discout=0.5, check_w=3, occupied_thresh=0.6, candidate_max_rel=0.75, candidate_max_min_margin=1.5)[source]¶ Bases:
object
-
check
(trace)[source]¶ Check if trace goes into masked volume. If so, find out to which trace tree this belongs and merge. Return False to stop tracing Mask seeds and volume mask by current trace’s log
W: window length to do check on
-