This document aims to provide a detailed description to the scientific basis of the processing steps involved in CaTSper. A step-by-step guide to using CaTSper is available here.
The time delay
where
The time delay due to one internal reflection occurring
A step-by-step guide to CaTSper's time-domain analysis in CaTSper can be found here.
The following and the user-selected processing options in CaTSper apply to both the reference and sample data.
The time range in which relevant data needs to be Fourier transformed shall be specified. This can be done manually, or via the auto window function. The auto window has a time range of
The selected data does not have a time range that extends over
- Barthann: Linear combination of weighted Bartlett and Hann window functions. The function is triangular with cosine edges to reduce discontinuity in signals. It is suitable in cases where a balance of spectral leakage control and frequency resolution is required.
- Blackman: Summation of two cosine terms. The function is created with a length greater than the data length by one, and then the last value is removed from the function. It is suitable for applications where minimal leakage is required.
- Blackman Harris: Summation of three cosine terms. Compared to Blackman, Blackman Harris can further reduce side lobe levels in frequency domain. It is suitable in cases where minimising spectral leakage is important.
- Bohnman: Summation of a sine term, and a product consisting a linear triangular function and cosine term. It offers smooth tapering but a steeper transition to zeros at the edges.
- Chebyshev: Product of the Chebyshev polynomial and a cosine term, which is used to control oscillations in frequency response. It reduces side lobe levels to minimise spectral leakage.
- Flattop: Summation of a series of cosines. Before returning to zero at the edges, parts of the window function are negative to minimise scalloping loss. It preserves the amplitude of sinusoidal components, but the broad bandwidth leads to a noiser bandwith and lower frequency resolution.
-
Gaussian: Gaussian function. As the Gaussian function spans
$[-\infty,\infty]$ , the Gaussian window function does not end at zero at the edges. It is a general-purpose window function used for smoothing signals whilst preserving key spectral features. - Hann: Raised cosine. The two end values are at zero. The function length is one greater than the data length. It is suitable for random signals and is good against spectral leakage. This is one of the common window functions used in terahertz spectroscopy analysis.
- Hamming: Raised cosine. The two end values are not at zero. The function length is one greater than the data length. After Fourier transform, the side lobes has a value lower than that of Hann, making Hamming suitable for optimising signal quality. This is one of the common window functions used in terahertz spectroscopy analysis.
- Kaiser: Ratio of 2 zeroth order modified Bessel function. It emphasises the main lobe, so it is most suitable for applications associated with finite impulse response.
- Nuttall: Summation of three cosine terms. Nuttall only differs from Blackman Harris by the coefficient values and hence slightly lower sidelobes. It minimises spectral leakage and so it is suitable for cases where distinguishing closely adjacent frequency components are important.
- Parzen: Piecewise cubic functions approximated from the Gaussian window function. It offers good smoothing and minimises spectral leakage, but has a lower frequency resolution due to a relatively wider main lobe.
- Rectangular: Similar to heaviside step function. All points within the window function take a value of 1 and those outside take a value of 0. The values of the selected data are thus unchanged and hence the function is suitable for transient data. This is one of the common window functions used in terahertz spectroscopy analysis.
- Taylor: The MATLAB default settings are used. The coefficients in the function are not normalised. After Fourier transform, it gives a narrow main lobe with side lobe values that decrease monotonically. It is suitable for radar applications.
- Triangular: Symmetrical triangular function. If the length of the data has an odd value, the two end values are zero and the triangular peak is at one. If the length is instead even, the two end values are equal to the reciprocal of the length and a plateau, instead of a triangular peak, is resulted. The function length is the same as the data length.
- Tukey: Tapered cosine function. Half of the window function centred around the mid-point is defined as 1, and both sides descends via a cosine function to zero at the edges of the window function. It is useful for data tapering where the original signal needs to be preserved but edge effects need to be reduced.
The data is usually upsampled before Fourier transform. Upsampling approximates the situation when the signal is sampled at a higher rate. This is done by extending the data length, where the new length is determined by multiplying the original length of data by a power of two. The exponent is specified by the user and should have a value greater than zero. The additional entries created beyond the original data length are filled with zeros.
The augmented data is then respectively discrete Fourier transformed into frequency domain via fast Fourier transform (MATLAB built-in function). A
The frequency domain data will be trimmed according to the user-specified frequency range, which should be set based on considerations such as the instrument's signal-to-noise ratio, the range that gives relevant features, etc. Values beyond the upper limit, which is the cutoff frequency, can be trimmed right after Fourier transform, but those below the lower limit are only trimmed after phase unwrapping, as otherwise erroneous values may result.
The spectral resolution
where
Amplitude data are the scaled data obtained after fast Fourier transform. Phase data is obtained by unwrapping the frequency domain data. The built-in MATLAB 'unwrap' function is adopted as it eliminates discontinuities between consecutive phases by adding multiples of
A step-by-step guide to Fourier transform in CaTSper can be found here.
In CaTSper's DR Filter app, the user can first specify the cutoff frequency
where
The upper limit frequency can also be specified in CaTSper's DR Filter app so that data at frequencies that are greater than the upper limit frequency will not be considered for analysis in the next steps.
Transmittance measures the fraction of the terahertz wave that is transmitted through the sample to the detector. The transmission amplitude
where
The transmission phase
where
Refractive index is a material property which measures the ratio between the speed of light in vacuum to that in the material. Both the refractive index of the reference
where
The absorption coefficient
The reference factor is first determined using
As discussed earlier, both
The sample factor is similarly defined as
In CaTSper's DR Filter app, the user-specified noise floor defines the dynamic range. The dynamic range is then used to calculate the maximum absorption coefficient at each frequency,
which references the method in Jepsen and Fischer (2005)1.
Permittivity measures the tendency of a material to be polarised by an electric field. The dielectric constant
A step-by-step guide to CaTSper's frequency domain analysis can be found here.
The MATLAB built-in function 'findpeaks' is used to identify peaks for a set of selected data (e.g. absorption coefficient
A step-by-step guide to data management in CaTSper can be found here.