Package systole.processor.filters

Examples of systole.processor.filters.FilterSettings


    }

    @Override
    protected Void doInBackground() {
        try {
            FilterSettings filtSet = new FilterSettings();
            filtSet.createDefault(this.parentControl.getAnalysis().getSignalFrequency().getFrequency().doubleValue());
            RawSignal rawSignal = this.parentControl.getAnalysis().getRawSignal();

            // primer grafico -> señal cruda
            XYChart rawSignalXYChart = new XYChart("Señal Original", "Muestras", "Amplitud (%)");
            rawSignalXYChart.setShowLegend(false);
View Full Code Here


        this.analysisController = analysisController;
        this.currentAnalysis = this.analysisController.getAnalysis();
    }

    private void filter() {
        FilterSettings filtSet = new FilterSettings();
        filtSet.createDefault(this.currentAnalysis.getSignalFrequency().getFrequency().doubleValue());

        // primer grafico -> señal cruda
        XYChart rawSignal = new XYChart("Señal Original", "Muestras", "Amplitud (%)");
        rawSignal.setShowLegend(false);
        rawSignal.addSeries("Tren de Pulsos", this.currentAnalysis.getRawSignal().getSegment().toDoubleArray(), 1);
View Full Code Here

        double trband = Double.parseDouble(this.txtTransitionBandwidth.getText().replace(",", "."));
        int cutoff = ((Integer)this.spinCutoff.getValue()).intValue();
        int iterations = ((Integer)this.spinFilterIterations.getValue()).intValue();
        int order = ((Integer)this.spinFilterOrder.getValue()).intValue();

        FilterSettings newSettings = new FilterSettings();
        newSettings.createDefault(this.logic.getAnalysis().getSignalFrequency().getFrequency().doubleValue());
        newSettings.setDefaultIterations(iterations);
        newSettings.setFilt(new LowPass(newSettings.getFilt().getSamplingPeriod(), (new Double(cutoff)).doubleValue()));
        newSettings.setFConfig(newSettings.getFilt().config(order, atten, ripple, trband));
        newSettings.setFAlg(new RemezEquiripple());

        return newSettings;
    }
View Full Code Here

TOP

Related Classes of systole.processor.filters.FilterSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.