dbbs-lab / bsb-core

The Brain Scaffold Builder
https://bsb.readthedocs.io
GNU General Public License v3.0
22 stars 16 forks source link

Swap axes for morphologies points #834

Closed drodarie closed 6 months ago

drodarie commented 7 months ago

Morphologies loaded to reconstruct the network might not be have the same coordinate framework as the BSB. Currently, the user has to apply a (multiple) rotation(s) to correctly integrate their morphologies, which might be slightly difficult to implement.

However, in most cases the (x, y, z) coordinates of BSB are juste not in the same order in the morphology file (e.g: x, z, y) A simple swap axis function could simplify this process.