def processVariable(self, request: TaskRequest, node: OpNode, variable: EDASArray) -> EDASArray: variable.persist() return variable - variable.ave(node.axes)
def processVariable(self, request: TaskRequest, node: OpNode, variable: EDASArray) -> EDASArray: variable.persist() centered_result = variable - variable.ave(node.axes) return centered_result / centered_result.std(node.axes)