Instrument Function Filter
Applies a predefined operation (either global average, or an integral of the product of the data with a mathematical function) to the input data for each pixel.
Category |
|
Node |
|
Parameters |
FunctionType: what function to apply. This may either be GlobalAverage to calculate a global average over all channels of the input data, or a function type for which a product integral of the data will be calculated (see below) Wavelength: for product integrals this defines the center of the prodcut function FWHM: for product integrals this defines the width of the product function. |
Inputs |
Input: the input data |
Outputs |
Output: the output data, containing just a single channel with the result |
Effect of the Filter
When FunctionType is GlobalAverage the filter will calculate the average of the input data over all channels.
When FunctionType is something else, a weighted average / integral
will be performed with one of the following predefined functions. The
predefined function will be centered around the Wavelength parameter
and have a width as specified by the FWHM parameter. In the following
formulas the Wavelength parameter will be referred to as ,
the Width parameter as
.
FunctionType = Square: the function will be given by a square symmetrical to
with width
. If
is the Heaviside step function, then the square function may be written as
.
FunctionType = Triangle: the function will be given by a triangle that connects the points
,
, and
(and is 0 outside of the interval
).
FunctionType = Gauss: the function will be given by the formula
.
FunctionType = Sinc: the function will be given by the formula
.
The result of the filter will always be a single channel per pixel containing the result of the integral (or the average).