public static double db2linear(double dbEnergy){
  if (Double.isNaN(dbEnergy))   return 0.;
 else   return exp10(dbEnergy / 10);
}

public static double db2linear ( double dbEnergy ) { if ( Double . isNaN ( dbEnergy ) ) return 0. ; else return exp10 ( dbEnergy / 10 ) ; }
convert energy from db scale to linear scale .
