MphChlUtils { public static double computeChlExponential(double mph) { final double exponent = 35.79 * mph; return 22.44 * Math.exp(exponent); }  static FlagCoding createMphChlFlagCoding(String flagId); static void setupMphChlBitmask(Product mphChlProduct); static int encodeFlags(boolean cyano_flag, boolean floating_flag, boolean adj_flag); static double computeChlExponential(double mph); static double computeChlPolynomial(double mph); static boolean isCyano(double SICF_peak, double SIPF_peak, double BAIR_peak); static boolean isCyano(double SICF_peak, double SIPF_peak); static void setToInvalid(WritableSample[] targetSamples, boolean exportMph); static double computeMph(double rBr_Max, double r_7, double r_14, double wl_max, double wl_7, double wl_14);  }
@Test public void testComputeChlExponential() { Assert.assertEquals(22.5204566512951240, MphChlUtils.computeChlExponential(0.0001), 1e-8); Assert.assertEquals(23.25767257114881, MphChlUtils.computeChlExponential(0.001), 1e-8); Assert.assertEquals(22.44, MphChlUtils.computeChlExponential(0.0), 1e-8); }