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