#NEWLINE# def get_monitoring_channels_from_state( self , state ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# P = state #NEWLINE# rval = OrderedDict ( ) #NEWLINE# vars_and_prefixes = [ ( P , '' ) ] #NEWLINE# for ( var , prefix ) in vars_and_prefixes : #NEWLINE# #INDENT# v_max = var . max ( axis = 0 ) #NEWLINE# v_min = var . min ( axis = 0 ) #NEWLINE# v_mean = var . mean ( axis = 0 ) #NEWLINE# v_range = ( v_max - v_min ) #NEWLINE# for ( key , val ) in [ ( 'max_x.max_u' , v_max . max ( ) ) , ( 'max_x.mean_u' , v_max . mean ( ) ) , ( 'max_x.min_u' , v_max . min ( ) ) , ( 'min_x.max_u' , v_min . max ( ) ) , ( 'min_x.mean_u' , v_min . mean ( ) ) , ( 'min_x.min_u' , v_min . min ( ) ) , ( 'range_x.max_u' , v_range . max ( ) ) , ( 'range_x.mean_u' , v_range . mean ( ) ) , ( 'range_x.min_u' , v_range . min ( ) ) , ( 'mean_x.max_u' , v_mean . max ( ) ) , ( 'mean_x.mean_u' , v_mean . mean ( ) ) , ( 'mean_x.min_u' , v_mean . min ( ) ) ] : #NEWLINE# #INDENT# rval [ ( prefix + key ) ] = val #NEWLINE# #UNINDENT# #UNINDENT# return rval