fafbseg.xform.fafb14_to_flywire¶
-
fafbseg.xform.
fafb14_to_flywire
(x, coordinates='nm', mip=4, inplace=False, on_fail='warn')[source]¶ Transform neurons/coordinates from FAFB v14 to flywire.
This uses a service hosted by Eric Perlman.
- Parameters
x (CatmaidNeuron/List | np.ndarray (N, 3)) – Data to transform.
mip (int) – Resolution of mapping. Lower = more precise but much slower. Currently only mip 4 available!
coordinates ("nm" | "pixel") – Units of the provided data in
x
.inplace (bool) – If
True
will modify Neuron object(s) in place. IfFalse
work with a copy.on_fail ("warn" | "ignore" | "raise") – What to do if points failed to xform.
- Returns
Returns same data type as input. Coordinates are returned in pixel (at 4x4x40 nm).
- Return type
xformed data