#NEWLINE# def calc_cut_levels( self , image ) : #NEWLINE# #INDENT# if self . usecrop : #NEWLINE# #INDENT# data = self . get_crop ( image ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# data = image . get_data ( ) #NEWLINE# #UNINDENT# ( loval , hival ) = self . calc_stddev ( data , hensa_lo = self . hensa_lo , hensa_hi = self . hensa_hi ) #NEWLINE# return ( hival , hival )