[bugfix] compare now shows histogram for all stations
This commit is contained in:
		
							parent
							
								
									e0e0be48c7
								
							
						
					
					
						commit
						09374f8242
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user