GeneralisedSecondDifference

From MantidProject

Jump to: navigation, search

Contents

Summary

Computes the generalised second difference of a spectrum or several spectra.

Properties

Order Name Direction Type Default Description
1 InputWorkspace Input Workspace Mandatory The name of the input workspace.
2 OutputWorkspace Output Workspace Mandatory The name with which to store the output workspace in the Analysis Data Service
3 M Input integer Mandatory The number of points for averaging, i.e. summing will be done in the range [y(i-m),y(i+m)]
4 Z Input integer Mandatory The number of iteration steps in the averaging procedure
5 SpectraMin Input integer 0 Lower bound of the spectrum range
6 SpectraMax Input integer workspace max Upper bound of the spectrum range

Description

Compute the generalised second difference of a spectrum or several spectra based on the method described by M.A. Mariscotti., Nuclear Instruments and Methods 50, 309 (1967). Given a spectrum with value yi (0<=i<n), the generalised second difference corresponds to the second difference curve, smoothed by averaging each point in the interval [-m,+m], and applying this procedure z times.

Source Code

Header GeneralisedSecondDifference.h

Source GeneralisedSecondDifference.cpp

Personal tools
Create a book