Skip to content

navis-fastcore

Re-implementation of navis core function in Rust.

Importantly, functions in fastcore are generalized and do not depend on navis itself. That way third-party libraries can make use of fastcore without the rather heavy dependency of navis. Currently, fastcore only requires numpy!

In the future we might try to also provide R bindings for the underlying Rust functions so that they can also be used in e.g. the excellent natverse.

At this point fastcore covers two areas where re-implementation made immediate sense:

  1. Operations on roote tree graphs (= skeletons)
  2. NBLAST to get around the limitations of multi-processing in Python (experimental)

Details & available functions can be found the respective sections!

Install

Pre-compiled binaries are on PyPI and can be installed via:

pip install navis-fastcore

Please see the Github repo if you need/want to build from source.

Usage

navis will automatically use fastcore where appropriate. See the API docs if you want to use fastcore directly.