[change] py3 histogram changes merged to develop
This commit is contained in:
commit
e9dd34eca7
@ -154,7 +154,7 @@ class Comparison(object):
|
|||||||
def get_array(self, phase, method_name):
|
def get_array(self, phase, method_name):
|
||||||
method = operator.methodcaller(method_name)
|
method = operator.methodcaller(method_name)
|
||||||
pdf_list = self.get_all(phase)
|
pdf_list = self.get_all(phase)
|
||||||
rarray = map(method, pdf_list)
|
rarray = list(map(method, pdf_list))
|
||||||
return np.array(rarray)
|
return np.array(rarray)
|
||||||
|
|
||||||
def get_expectation_array(self, phase):
|
def get_expectation_array(self, phase):
|
||||||
|
Loading…
Reference in New Issue
Block a user