#NEWLINE# def _undo_scaling_cov( data , picks_list , scalings ) : #NEWLINE# #INDENT# scalings = _check_scaling_inputs ( data , picks_list , scalings ) #NEWLINE# if isinstance ( scalings , dict ) : #NEWLINE# #INDENT# scalings = dict ( ( ( k , ( 1.0 / v ) ) for ( k , v ) in scalings . items ( ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( scalings , np . ndarray ) : #NEWLINE# #INDENT# scalings = ( 1.0 / scalings ) #NEWLINE# #UNINDENT# #UNINDENT# return _apply_scaling_cov ( data , picks_list , scalings )