navis-org/navis-flybrains ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python package called flybrains for working with Drosophila template brains and nerve cords in navis.

I want it to let me load metadata and surface meshes for a bunch of fly brain and VNC templates, download the available bridging and mirror registrations, and then use those transforms to map points and neuron data between spaces. It should also be able to report what transforms are available locally, figure out transforms that were downloaded before through related R packages if they already exist on disk, and register everything so navis can use it right after import.

Please include support for the common Janelia and Jefferis lab style transforms, plus the connectome and template spaces mentioned in the README, and make it easy to plot the template meshes too. If any external tools are needed for some transforms, make that clear in the setup or docs. Look up current docs online if you need to, but keep the user experience simple, like install it and start transforming coordinates right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab