test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/data/PeriodogramTest.java
test_class.identifier: PeriodogramTest
test_case.body: @Test
      public void testSum() {
          for (int K = 12; K < 120; ++K) {
              DataBlock z = new DataBlock(K);
              z.randomize(0);
              Periodogram p = new Periodogram(z, false);
              DataBlock q = new DataBlock(p.getP());
              assertTrue(Math.abs(q.sum() - K) < 1e-6);
              p = new Periodogram(z, true);
              q = new DataBlock(p.getP());
              assertTrue(Math.abs(q.sum() - K) < 1e-6);
          }
      }
test_case.class_method_signature: PeriodogramTest.testSum()
test_case.full_signature: @Test public void testSum()
test_case.identifier: testSum
test_case.invocations: randomize getP assertTrue abs sum getP assertTrue abs sum
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSum()
focal_class.declarator: m_sy
focal_class.modifier: private
focal_class.original_string: private double m_sy, m_sy2;
focal_class.type: double
focal_class.var_name: m_sy
focal_class.declarator: m_n
focal_class.modifier: private
focal_class.original_string: private int m_n;
focal_class.type: int
focal_class.var_name: m_n
focal_class.declarator: m_w
focal_class.modifier: private
focal_class.original_string: private int[] m_w;
focal_class.type: int[]
focal_class.var_name: m_w
focal_class.declarator: m_data
focal_class.modifier: private
focal_class.original_string: private double[] m_data, m_p, m_s;
focal_class.type: double[]
focal_class.var_name: m_data
focal_class.declarator: m_mean
focal_class.modifier: private final
focal_class.original_string: private final boolean m_mean;
focal_class.type: boolean
focal_class.var_name: m_mean
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/data/Periodogram.java
focal_class.identifier: Periodogram
focal_class.class_method_signature: Periodogram.getSeasonalFrequencies(int freq)
focal_class.full_signature: public static double[] getSeasonalFrequencies(int freq)
focal_class.identifier: getSeasonalFrequencies
focal_class.modifiers: public static
focal_class.parameters: (int freq)
focal_class.return: double[]
focal_class.signature: double[] getSeasonalFrequencies(int freq)
focal_class.class_method_signature: Periodogram.getTradingDaysFrequencies(int freq)
focal_class.full_signature: public static double[] getTradingDaysFrequencies(int freq)
focal_class.identifier: getTradingDaysFrequencies
focal_class.modifiers: public static
focal_class.parameters: (int freq)
focal_class.return: double[]
focal_class.signature: double[] getTradingDaysFrequencies(int freq)
focal_class.class_method_signature: Periodogram.Periodogram(IReadDataBlock data)
focal_class.full_signature: public  Periodogram(IReadDataBlock data)
focal_class.identifier: Periodogram
focal_class.modifiers: public
focal_class.parameters: (IReadDataBlock data)
focal_class.signature:  Periodogram(IReadDataBlock data)
focal_class.class_method_signature: Periodogram.Periodogram(IReadDataBlock data, boolean mean)
focal_class.full_signature: public  Periodogram(IReadDataBlock data, boolean mean)
focal_class.identifier: Periodogram
focal_class.modifiers: public
focal_class.parameters: (IReadDataBlock data, boolean mean)
focal_class.signature:  Periodogram(IReadDataBlock data, boolean mean)
focal_class.class_method_signature: Periodogram.isMeanCorrection()
focal_class.full_signature: public boolean isMeanCorrection()
focal_class.identifier: isMeanCorrection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMeanCorrection()
focal_class.class_method_signature: Periodogram.getSsq()
focal_class.full_signature: public double getSsq()
focal_class.identifier: getSsq
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getSsq()
focal_class.class_method_signature: Periodogram.calcp()
focal_class.full_signature: private void calcp()
focal_class.identifier: calcp
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void calcp()
focal_class.class_method_signature: Periodogram.calcs()
focal_class.full_signature: private void calcs()
focal_class.identifier: calcs
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void calcs()
focal_class.class_method_signature: Periodogram.calcwnd(int n)
focal_class.full_signature: private void calcwnd(int n)
focal_class.identifier: calcwnd
focal_class.modifiers: private
focal_class.parameters: (int n)
focal_class.return: void
focal_class.signature: void calcwnd(int n)
focal_class.class_method_signature: Periodogram.getData()
focal_class.full_signature: public double[] getData()
focal_class.identifier: getData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getData()
focal_class.class_method_signature: Periodogram.getIntervalInRadians()
focal_class.full_signature: public double getIntervalInRadians()
focal_class.identifier: getIntervalInRadians
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getIntervalInRadians()
focal_class.class_method_signature: Periodogram.getP()
focal_class.full_signature: public double[] getP()
focal_class.identifier: getP
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getP()
focal_class.class_method_signature: Periodogram.getS()
focal_class.full_signature: public double[] getS()
focal_class.identifier: getS
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getS()
focal_class.class_method_signature: Periodogram.getWindowLength()
focal_class.full_signature: public int getWindowLength()
focal_class.identifier: getWindowLength
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getWindowLength()
focal_class.class_method_signature: Periodogram.searchPeaks(double dMin, boolean smoothed)
focal_class.full_signature: public int[] searchPeaks(double dMin, boolean smoothed)
focal_class.identifier: searchPeaks
focal_class.modifiers: public
focal_class.parameters: (double dMin, boolean smoothed)
focal_class.return: int[]
focal_class.signature: int[] searchPeaks(double dMin, boolean smoothed)
focal_class.class_method_signature: Periodogram.setWindowLength(int value)
focal_class.full_signature: public void setWindowLength(int value)
focal_class.identifier: setWindowLength
focal_class.modifiers: public
focal_class.parameters: (int value)
focal_class.return: void
focal_class.signature: void setWindowLength(int value)
focal_method.body: public double[] getP() {
          calcp();
          return m_p;
      }
focal_method.class_method_signature: Periodogram.getP()
focal_method.full_signature: public double[] getP()
focal_method.identifier: getP
focal_method.invocations: calcp
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: double[]
focal_method.signature: double[] getP()