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);