Skip to content

Releases: schlegelp/fastcore-rs

Version 0.0.7

16 Sep 16:59
Compare
Choose a tag to compare

This release fixes an issue in geodesic_matrix() that caused the distance matrix to not be in the requested order if sources and/or targets were provided.

Version 0.0.6

16 Sep 15:35
Compare
Choose a tag to compare

This version adds a function to compute geodesic distances between node pairs: fastcore.geodesic_pairs.

Version 0.0.5

07 Sep 16:30
Compare
Choose a tag to compare

With this version navis-fastcore should be more flexible when it comes to 32bit vs 64bit node/parent IDs. We also do more checks prior to calling Rust functions which should mean more helpful exception than before.

Version 0.0.4

25 Jul 16:29
Compare
Choose a tag to compare

With this release fastcore has been re-organised into a monorepo containing (1) the fastcore Rust crate, (2) the navis-fastcore Python and (3) the R nat.fastcore bindings.

New

Fixes

  • fastcore: fixed an issue in break_segments that caused segments to missing the last node in the sequence

Version 0.0.3

09 Jul 23:24
Compare
Choose a tag to compare

Breaking

  • the module was renamed from fastcore to navis-fastcore to avoid potential name clashes:
    pip install navis-fastcore
    import navis_fastcore as fastcore

New

  • new functions: prune_twigs(), strahler_index(), break_segments() and classify_nodes

Improved

  • synapse_flow_centrality(): added a mode (centrifugal, centripetal or sum) parameter

Fixed

  • geodesic_matrix() now actually respects directed=True parameter

Version 0.0.2

27 Jun 12:21
Compare
Choose a tag to compare

New Features

Documentation!

Improvements

Added a Rust function for geodesic_matrix when asking for specific sources and/or targets. This implementation is faster and much more memory efficient than the all-by-all as long as the number of sources/targets is small-ish (need to benchmark). The Python wrapper fastcore.geodesic_matrix will automatically choose the appropriate function.

Breaking

  • removed modifier parameter from fastcore.segment_coords

Version 0.0.1

22 Jun 14:41
Compare
Choose a tag to compare

This is mostly a release to test publishing via CI.