def compute_score(self, observation, prediction): """Implementation of sciunit.Test.score_prediction.""" print("%s: Observation = %s, Prediction = %s" % (self.name,str(observation),str(prediction))) score = zscore(observation,prediction) score = ZScore(score) score.related_data['mean_spikewidth'] = prediction['mean'] return score
def compute_score(self, observation, prediction): """Implementation of sciunit.Test.score_prediction.""" score = zscore(observation,prediction) score = ZScore(score) score.related_data['mean_vm'] = prediction['mean'] return score