brisvag / blik

Python tool for visualising and interacting with cryo-ET and subtomogram averaging data.
https://brisvag.github.io/blik/
GNU General Public License v3.0
23 stars 8 forks source link

[WIP] Generalize 3D #116

Closed brisvag closed 3 years ago

brisvag commented 3 years ago

Attempt at generalizing dimensionality. Everything is considered/reshaped to 3D, which simplifies a lot of logic for depiction and slicing, especially for supporting additional non-spatial dimensions.

As an example for the benefits of this, I added a function that stacks all the particleblocks in each volume of a dataset into per-volume particleblocks with an extra dimension. Try opening all the iterations of a relion refinement, and then stacking that datablock with this function.