ParameterSet parameters) {
double resolution = parameters.getParameter(
ShoulderPeaksFilterParameters.resolution).getValue();
PeakModel peakModel = null;
// Try to create an instance of the peak model
try {
PeakModelType type = parameters.getParameter(
ShoulderPeaksFilterParameters.peakModel).getValue();