public static double powerCurveToLinear(final double[] curve,double value){
  return Math.log((value - curve[0]) / curve[1]) / curve[2];
}

public static double powerCurveToLinear ( final double [ ] curve , double value ) { return Math . log ( ( value - curve [ 0 ] ) / curve [ 1 ] ) / curve [ 2 ] ; }
map a value on a power curve to a linear value
