test_class.file: beam-meris-sdr/src/test/java/org/esa/beam/meris/brr/dpm/DpmPixelTest.java
test_class.identifier: DpmPixelTest
test_case.body: @Test
      public void testReset() {
          final DpmPixel dpmPixel = new DpmPixel(0,0);
  
          dpmPixel.x = 3;
          dpmPixel.y = 4;
          dpmPixel.i = 5;
          dpmPixel.j = 6;
          dpmPixel.detector = 7;
          dpmPixel.view_zenith = 8.0;
          dpmPixel.sun_zenith = 9.0;
          dpmPixel.delta_azimuth = 10.0;
          dpmPixel.sun_azimuth = 11.0;
          dpmPixel.mus = 12.0;
          dpmPixel.muv = 13.0;
          dpmPixel.airMass = 1.0;
          dpmPixel.altitude = 2.0;
          dpmPixel.windu = 14.0;
          dpmPixel.windv = 15.0;
          dpmPixel.press_ecmwf = 16.0;
          dpmPixel.ozone_ecmwf = 17.0;
          dpmPixel.l1flags = 18;
          dpmPixel.l2flags = 19;
          dpmPixel.SATURATED_F = 20;
          dpmPixel.ANNOT_F = 21;
          for (int i = 0; i < dpmPixel.TOAR.length; i++) {
              dpmPixel.TOAR[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.rho_ag.length; i++) {
              dpmPixel.rho_ag[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.rho_toa.length; i++) {
              dpmPixel.rho_toa[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.rho_top.length; i++) {
              dpmPixel.rho_top[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.rhoR.length; i++) {
              dpmPixel.rhoR[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.transRv.length; i++) {
              dpmPixel.transRv[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.transRs.length; i++) {
              dpmPixel.transRs[i] = i+1;
          }
          for (int i = 0; i < dpmPixel.sphalbR.length; i++) {
              dpmPixel.sphalbR[i] = i+1;
          }
  
          dpmPixel.reset(567, 665);
  
          assertEquals(567, dpmPixel.i);
          assertEquals(665, dpmPixel.j);
  
          assertEquals(0, dpmPixel.x);
          assertEquals(0, dpmPixel.y);
          assertEquals(0, dpmPixel.detector);
          assertEquals(0.0, dpmPixel.view_zenith, 1e-8);
          assertEquals(0.0, dpmPixel.sun_zenith, 1e-8);
          assertEquals(0.0, dpmPixel.delta_azimuth, 1e-8);
          assertEquals(0.0, dpmPixel.sun_azimuth, 1e-8);
          assertEquals(0.0, dpmPixel.mus, 1e-8);
          assertEquals(0.0, dpmPixel.muv, 1e-8);
          assertEquals(0.0, dpmPixel.airMass, 1e-8);
          assertEquals(0.0, dpmPixel.altitude, 1e-8);
          assertEquals(0.0, dpmPixel.windu, 1e-8);
          assertEquals(0.0, dpmPixel.windv, 1e-8);
          assertEquals(0.0, dpmPixel.press_ecmwf, 1e-8);
          assertEquals(0.0, dpmPixel.ozone_ecmwf, 1e-8);
          assertEquals(0, dpmPixel.l1flags);
          assertEquals(0, dpmPixel.l2flags);
          assertEquals(0, dpmPixel.SATURATED_F);
          assertEquals(0, dpmPixel.ANNOT_F);
          for (int i = 0; i < dpmPixel.TOAR.length; i++) {
              assertEquals(0.0, dpmPixel.TOAR[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.rho_ag.length; i++) {
              assertEquals(0.0, dpmPixel.rho_ag[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.rho_toa.length; i++) {
              assertEquals(0.0, dpmPixel.rho_toa[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.rho_top.length; i++) {
              assertEquals(0.0, dpmPixel.rho_top[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.rhoR.length; i++) {
              assertEquals(0.0, dpmPixel.rhoR[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.transRv.length; i++) {
              assertEquals(0.0, dpmPixel.transRv[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.transRs.length; i++) {
              assertEquals(0.0, dpmPixel.transRs[i], 1e-8);
          }
          for (int i = 0; i < dpmPixel.sphalbR.length; i++) {
              assertEquals(0.0, dpmPixel.sphalbR[i], 1e-8);
          }
      }
test_case.class_method_signature: DpmPixelTest.testReset()
test_case.full_signature: @Test public void testReset()
test_case.identifier: testReset
test_case.invocations: reset assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReset()
focal_class.declarator: x
focal_class.modifier: public
focal_class.original_string: public int x;
focal_class.type: int
focal_class.var_name: x
focal_class.declarator: y
focal_class.modifier: public
focal_class.original_string: public int y;
focal_class.type: int
focal_class.var_name: y
focal_class.declarator: i
focal_class.modifier: public
focal_class.original_string: public int i;
focal_class.type: int
focal_class.var_name: i
focal_class.declarator: j
focal_class.modifier: public
focal_class.original_string: public int j;
focal_class.type: int
focal_class.var_name: j
focal_class.declarator: detector
focal_class.modifier: public
focal_class.original_string: public int detector;
focal_class.type: int
focal_class.var_name: detector
focal_class.declarator: view_zenith
focal_class.modifier: public
focal_class.original_string: public double view_zenith;
focal_class.type: double
focal_class.var_name: view_zenith
focal_class.declarator: sun_zenith
focal_class.modifier: public
focal_class.original_string: public double sun_zenith;
focal_class.type: double
focal_class.var_name: sun_zenith
focal_class.declarator: delta_azimuth
focal_class.modifier: public
focal_class.original_string: public double delta_azimuth;
focal_class.type: double
focal_class.var_name: delta_azimuth
focal_class.declarator: sun_azimuth
focal_class.modifier: public
focal_class.original_string: public double sun_azimuth;
focal_class.type: double
focal_class.var_name: sun_azimuth
focal_class.declarator: mus
focal_class.modifier: public
focal_class.original_string: public double mus;
focal_class.type: double
focal_class.var_name: mus
focal_class.declarator: muv
focal_class.modifier: public
focal_class.original_string: public double muv;
focal_class.type: double
focal_class.var_name: muv
focal_class.declarator: airMass
focal_class.modifier: public
focal_class.original_string: public double airMass;
focal_class.type: double
focal_class.var_name: airMass
focal_class.declarator: altitude
focal_class.modifier: public
focal_class.original_string: public double altitude;
focal_class.type: double
focal_class.var_name: altitude
focal_class.declarator: windu
focal_class.modifier: public
focal_class.original_string: public double windu;
focal_class.type: double
focal_class.var_name: windu
focal_class.declarator: windv
focal_class.modifier: public
focal_class.original_string: public double windv;
focal_class.type: double
focal_class.var_name: windv
focal_class.declarator: press_ecmwf
focal_class.modifier: public
focal_class.original_string: public double press_ecmwf;
focal_class.type: double
focal_class.var_name: press_ecmwf
focal_class.declarator: ozone_ecmwf
focal_class.modifier: public
focal_class.original_string: public double ozone_ecmwf;
focal_class.type: double
focal_class.var_name: ozone_ecmwf
focal_class.declarator: l1flags
focal_class.modifier: public
focal_class.original_string: public int l1flags;
focal_class.type: int
focal_class.var_name: l1flags
focal_class.declarator: l2flags
focal_class.modifier: public
focal_class.original_string: public long l2flags;
focal_class.type: long
focal_class.var_name: l2flags
focal_class.declarator: SATURATED_F
focal_class.modifier: public
focal_class.original_string: public int SATURATED_F;
focal_class.type: int
focal_class.var_name: SATURATED_F
focal_class.declarator: ANNOT_F
focal_class.modifier: public
focal_class.original_string: public int ANNOT_F;
focal_class.type: int
focal_class.var_name: ANNOT_F
focal_class.declarator: TOAR = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] TOAR = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: TOAR
focal_class.declarator: rho_ag = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] rho_ag = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: rho_ag
focal_class.declarator: rho_toa = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] rho_toa = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: rho_toa
focal_class.declarator: rho_top = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] rho_top = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: rho_top
focal_class.declarator: rhoR = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] rhoR = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: rhoR
focal_class.declarator: transRv = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] transRv = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: transRv
focal_class.declarator: transRs = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] transRs = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: transRs
focal_class.declarator: sphalbR = new double[Constants.L1_BAND_NUM]
focal_class.modifier: public final
focal_class.original_string: public final double[] sphalbR = new double[Constants.L1_BAND_NUM];
focal_class.type: double[]
focal_class.var_name: sphalbR
focal_class.file: beam-meris-sdr/src/main/java/org/esa/beam/meris/brr/dpm/DpmPixel.java
focal_class.identifier: DpmPixel
focal_class.class_method_signature: DpmPixel.DpmPixel(int i, int j)
focal_class.full_signature: public  DpmPixel(int i, int j)
focal_class.identifier: DpmPixel
focal_class.modifiers: public
focal_class.parameters: (int i, int j)
focal_class.signature:  DpmPixel(int i, int j)
focal_class.class_method_signature: DpmPixel.reset(int i, int j)
focal_class.full_signature: public void reset(int i, int j)
focal_class.identifier: reset
focal_class.modifiers: public
focal_class.parameters: (int i, int j)
focal_class.return: void
focal_class.signature: void reset(int i, int j)
focal_method.body: public void reset(int i, int j) {
          this.i = i;
          this.j = j;
  
          x = 0;
          y = 0;
          detector = 0;
          view_zenith = 0.0;
          sun_zenith = 0.0;
          delta_azimuth = 0.0;
          sun_azimuth = 0.0;
          mus = 0.0;
          muv = 0.0;
          airMass = 0.0;
          altitude = 0.0;
          windu = 0.0;
          windv = 0.0;
          press_ecmwf = 0.0;
          ozone_ecmwf = 0.0;
          l1flags = 0;
          l2flags = 0;
          SATURATED_F = 0;
          ANNOT_F = 0;
  
          for (int n = 0; n < Constants.L1_BAND_NUM; n++) {
              TOAR[n] = 0.0;
              rho_ag[n] = 0.0;
              rho_toa[n] = 0.0;
              rho_top[n] = 0.0;
              rhoR[n] = 0.0;
              transRv[n] = 0.0;
              transRs[n] = 0.0;
              sphalbR[n] = 0.0;
          }
      }
focal_method.class_method_signature: DpmPixel.reset(int i, int j)
focal_method.full_signature: public void reset(int i, int j)
focal_method.identifier: reset
focal_method.modifiers: public
focal_method.parameters: (int i, int j)
focal_method.return: void
focal_method.signature: void reset(int i, int j)