#NEWLINE# def get_dist_pct( self , pct ) : #NEWLINE# #INDENT# val_inv = math . log ( ( ( self . exp * pct ) + 1 ) , val . exp ) #NEWLINE# val = min ( max ( float ( val_inv ) , 0.0 ) , 1.0 ) #NEWLINE# return val