Skip to content

v1.1.0 A different view on containment

Latest

Choose a tag to compare

@BartBruininks BartBruininks released this 30 Nov 12:42
· 11 commits to main since this release

NEW FEATURES:
For examples of these features please take a look at the examples notebook.

  • Containment now show the volume in nm^3 per component
  • Views, allow to make a view on Containment and VoxelContainment, making it easier to work derivatives of containment (see the example notebook)
  • Advanced composition logic, allow for instant high quality (interactive) plots of containment

API CHANGES:

  • Containment.morph('dde'), serially performs dilation and erosion as specified by the string (generalization of closing)
  • Containment.voxel_volume, shows the exact voxel volume
  • Containment.voxel_volumes, VoxelContaiment.voxel_counts style dict showing the volume in nm^3
  • Contaiment.node_view(), obtain a restricted view on the Containment, merging all excluded nodes upstream
  • VoxelContaiment.node_view(), obtain a restricted view on the VoxelContainment, merging all excluded nodes upstream

CODE CHANGES:

  • Refactor of Containment and VoxelContainment
  • Views and their original counterpart both inherit from abstract base class to reduce code duplication