@@ -0,0 +1,892 @@
+/*-%0A * Copyright (c) 2012 Diamond Light Source Ltd.%0A *%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A */%0A%0Apackage org.eclipse.dawnsci.analysis.api.fitting.functions;%0A%0A/**%0A * A unimodal function (i.e. has one peak)%0A */%0Apublic interface IPeak extends IFunction %7B%0A%0A%09/**%0A%09 * Returns the peak position for that peak%0A%09 * %0A%09 * @return peak position%0A%09 */%0A%09public double getPosition();%0A%0A%09/**%0A%09 * Returns the full width half maximum of a peak%0A%09 * %0A%09 * @return FWHM%0A%09 */%0A%09public double getFWHM();%0A%0A%09/**%0A%09 * Returns the area under the peak%0A%09 * %0A%09 * @return area under peak%0A%09 */%0A%09public double getArea();%0A%0A%09/**%0A%09 * @return the height of the peak ( y at getPosition() )%0A%09 */%0A%09public double getHeight();%0A%0A%7D%0A

Move interface to API plugin