Package hec.hecmath

Class SimpleFrequencyAnalysis

java.lang.Object
hec.hecmath.SimpleFrequencyAnalysis

public class SimpleFrequencyAnalysis extends Object
performs a simple Frequency Analysis of TimeSeries data. for use in DssVue for quick perspective. For 'real' analysis use HEC-SSP
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleFrequencyAnalysis(hec.io.TimeSeriesContainer tsc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    get annual peaks (calendar year jan1-Dec31) zeros removed Converts all values to Log10 space computes mean, variance, std, and skew computes k value using equation from 17-B https://water.usgs.gov/osw/bulletin17b/dl_flow.pdf computes flows for standard probability ordinates using Log Pearson III outliers dropped using Grubbs-Beck test that's part of Bulletin 17B
     
    hec.io.PairedDataContainer
     
    hec.io.PairedDataContainer
     
    protected static double[]
    getSortedPeaks(hec.io.TimeSeriesContainer input)
    Converts data to Annual Max

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleFrequencyAnalysis

      public SimpleFrequencyAnalysis(hec.io.TimeSeriesContainer tsc)
  • Method Details

    • getPairedDataPeaks

      public hec.io.PairedDataContainer getPairedDataPeaks()
    • getPairedDataComputed

      public hec.io.PairedDataContainer getPairedDataComputed()
    • getDroppedOutliers

      public List<Double> getDroppedOutliers()
    • compute

      public void compute() throws HecMathException
      get annual peaks (calendar year jan1-Dec31) zeros removed Converts all values to Log10 space computes mean, variance, std, and skew computes k value using equation from 17-B https://water.usgs.gov/osw/bulletin17b/dl_flow.pdf computes flows for standard probability ordinates using Log Pearson III outliers dropped using Grubbs-Beck test that's part of Bulletin 17B
      Throws:
      HecMathException
    • getSortedPeaks

      protected static double[] getSortedPeaks(hec.io.TimeSeriesContainer input) throws HecMathException
      Converts data to Annual Max
      Parameters:
      input - input time series data
      Returns:
      Throws:
      HecMathException