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" | "pixel") – Units of the provided data in x. If None will assume that Neuron/List are in nanometers and everything else is in pixel.

  • inplace (bool) – If True will modify Neuron object(s) in place. If False 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 nm.

Return type

xformed data