Return traps, time points and labels for this position in the form of a tree in the hierarchy determined by the argument fields.
Return traps, time points and labels for this position.
Note that it is compressed to non-empty elements and timepoints.
Return in the form of a tree in the hierarchy determined by the
argument fields.
Compress the tree to non-empty elements and timepoints.
Default hierarchy is:
- trap
- time point
- cell label
This function currently produces trees of depth 3, but it can easily be extended for deeper trees if needed (e.g. considering groups, chambers and/or positions).
This function currently produces trees of depth 3, but it can be
extended for deeper trees if needed (e.g. considering groups,
chambers and/or positions).
Parameters
----------
...
...
@@ -113,14 +118,19 @@ class BridgeH5:
Returns
----------
Nested dictionary where keys (or branches) are the upper levels and the leaves are the last element of :fields:.
Nested dictionary where keys (or branches) are the upper levels and