Commit ee9f0a8d authored by Andreas Freise's avatar Andreas Freise
Browse files

starting to implement scale of attribute of detectors.

parent 6235dc9d
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment