get_seg_from_sv - jaybgager/tracertools GitHub Wiki

This function gets the current segment ID that a known supervoxel belongs to.

Arguments:

  • datastack (string, mandatory)
    • the name of the CAVE datastack the supervoxel belongs to
  • sv_id (integer, mandatory)
    • the ID of the supervoxel

Returns:

  • seg_id (integer)
    • the segment ID that supervoxel currently belongs to

Example

INPUT:

import tracertools as tt

seg = tt.get_seg_from_sv(
    datastack = "brain_and_nerve_cord",
    sv_id = 76919154560765265,
)

print(seg)

OUTPUT:

720575941703820762

[!NOTE] This output was generated on 2026/10/02 and may differ if this code is run in the future.