Skip to content
Snippets Groups Projects
Commit ee9f0a8d authored by Andreas Freise's avatar Andreas Freise
Browse files

starting to implement scale of attribute of detectors.

parent 6235dc9d
Branches
Tags
No related merge requests found
......@@ -71,6 +71,7 @@ class katRun(object):
def __getitem__(self, value):
idx = [i for i in range(len(self.ylabels)) if self.ylabels[i].split(" ")[0] == str(value)]
print idx
if len(idx) == 1 and len(self.y.shape) == 1:
return self.y.squeeze()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment