Skip to content
Snippets Groups Projects
Commit 0399fbb3 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Add missing pdu_names property to MultiModuleConstant

parent 285ea074
No related branches found
No related tags found
1 merge request!885Revised CalCat API
......@@ -322,6 +322,14 @@ class MultiModuleConstant:
if m["karabo_da"] in self.constants
]
@property
def pdu_names(self):
return [
m["physical_name"]
for m in self.module_details
if m["karabo_da"] in self.constants
]
def ndarray(self, caldb_root=None, *, parallel=0):
eg_dset = self.constants[self.aggregator_names[0]].dataset_obj(caldb_root)
shape = (len(self.constants),) + eg_dset.shape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment