API Documentation¶
FAFBseg is divided into separate modules dedicated to a single data source/type or functionality:
fafbseg.flywire
for FlyWire-related functions
fafbseg.google
for Google segmentation-related functions
fafbseg.synapses
for querying Buhmann et al. synapse predictions
fafbseg.xform
for transforming spatial data between FAFB14 and flywire’s FAFB14.1
fafbseg.move
for moving/merging data between data sets
See below for a by-module breakdown:
Flywire segmentation¶
|
Retrieve flywire segment IDs at given location(s). |
|
Encode data as flywire neuroglancer scene. |
|
Decode neuroglancer URL. |
Fetch edit history for given neuron(s). |
|
|
Retrieve flywire supervoxel IDs at given location(s). |
|
Find the flywire ID(s) corresponding to given CATMAID skeleton ID(s). |
|
Retrieve the most recent version of given flywire neuron(s). |
|
Fetch flywire neuron as navis.MeshNeuron. |
Skeletonize flywire neuron. |
|
Merge flywire neuron into FAFB. |
Google segmentation¶
|
Retrieve Google segmentation IDs at given location(s). |
|
Retrieve autoseg neurons of given segmentation ID(s). |
|
Retrieve skeleton IDs of neurons corresponding to given segmentation ID(s). |
Get segment IDs overlapping with a given neuron. |
|
Find autoseg tracings constituting a given neuron. |
|
|
Find manual tracings overlapping with given autoseg neuron. |
Use autoseg to find (and annotate) potential missed branches. |
|
|
Get mesh for given segmentation ID using CloudVolume. |
|
Automatically review (low-confidence) edges between nodes. |
|
Test if edge(s) cross membranes using ray-casting. |
Buhmann synapse predictions¶
|
Fetch synapses for given segment IDs. |
|
Fetch synaptic connections between given segment IDs. |
Fetch synapses for a given neuron. |
|
Fetch synapses for a given neuron. |
|
|
Collapse synapses by presynaptic connectors. |
Spatial transformation¶
|
Transform neurons/coordinates from flywire to FAFB V14. |
|
Transform neurons/coordinates from FAFB v14 to flywire. |
Merging/combining data¶
|
Merge neuron into target CATMAID instance. |