fafbseg.xform.flywire_to_fafb14¶
- fafbseg.xform.flywire_to_fafb14(x, coordinates=None, mip=2, inplace=False, on_fail='warn')[source]¶
Transform neurons/coordinates from flywire to FAFB V14.
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.
coordinates (None | "nm" | "voxel") – Units of the provided data in
x
. IfNone
will assume that Neuron/List are in nanometers and everything else is in voxel.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 and in the same coordinates space (nm or voxel) as the input.
- Return type:
xformed data