/*-
* Copyright 2015 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package uk.ac.diamond.scisoft.xpdf.operations;
import org.eclipse.dawnsci.analysis.api.processing.model.AbstractOperationModel;
import org.eclipse.dawnsci.analysis.api.processing.model.OperationModelField;
public class XPDFTophatModel extends AbstractOperationModel {
// TODO: Change defaults to real defaults, rather than ceria SRM defaults
@OperationModelField(hint="Enter the minimum radius to consider", label="Rmin", unit = "Å")
private double rMin = 1.85;
@OperationModelField(hint="Enter the maximum radius to consider", label="Rmax", unit = "A")
private double rMax = 50.0;
@OperationModelField(hint="Enter the radius increment", label="Rstep", unit = "Å")
private double rStep = 0.02;
@OperationModelField(hint="Enter the width of the Tophat filter", label="Tophat width", unit = "Å")
private double tophatWidth = 3.0;
public double getrMin() {
return rMin;
}
public void setrMin(double rMin) {
firePropertyChange("rMin", this.rMin, this.rMin = rMin);
}
public double getrMax() {
return rMax;
}
public void setrMax(double rMax) {
firePropertyChange("rMax", this.rMax, this.rMax = rMax);
}
public double getrStep() {
return rStep;
}
public void setrStep(double rStep) {
firePropertyChange("rStep", this.rStep, this.rStep = rStep);
}
public double getTophatWidth() {
return tophatWidth;
}
public void setTophatWidth(double tophatWidth) {
firePropertyChange("tophatWidth", this.tophatWidth, this.tophatWidth = tophatWidth);
}
}