#NEWLINE# def get_dist_pct( self , pct ) : #NEWLINE# #INDENT# val_inv = ( math . asinh ( ( self . nonlinearity * pct ) ) / self . factor ) #NEWLINE# val = min ( max ( float ( val_inv ) , 0.0 ) , 1.0 ) #NEWLINE# return val