public AbstractArtaProcess CreateArtaProcess(double[] artaCorrelationCoefficients, RandomSource random)
        {
            var fitter = new AutocorrelationFitter(this);
            var arCorrelationCOefficients = fitter.FitArAutocorrelations(artaCorrelationCoefficients, DefaultError);
            var ar = ArProcessFactory.CreateArProcess(artaCorrelationCoefficients, random);

            return(new ArtaProcessGeneral(ar, this));
        }
Пример #2
0
        private static ArtaProcessGeneral CreateArtaProcessG(RealDistribution distribution, double[] artaCorrelationCoefficients, RandomGenerator random) //throws NotStationaryException
        {
            ArtaProcessGeneral    arta   = null;
            AutocorrelationFitter fitter = new AutocorrelationFitter(distribution);

            double[]  arCorrelationCoefficients = fitter.FitArAutocorrelations(artaCorrelationCoefficients, DEFAULT_ERROR);
            ArProcess ar = ArProcessFactory.CreateArProcess(arCorrelationCoefficients, random);

            arta = new ArtaProcessGeneral(ar, distribution);
            return(arta);
        }