1. Introduction
In numerous signal processing applications, the characterization of a physical process via its power spectrum or its amplitude and phase spectra is of fundamental importance. Typically, the recorded signal is sampled at uniform intervals over a finite observation period and stored as discrete sampled data. Spectral analysis serves multiple purposes, including the identification of characteristic frequencies for process recognition, the selection or attenuation of specific spectral components, and the precise estimation of the amplitude and phase at specified frequencies. Conventional approaches predominantly rely on the discrete Fourier transform (DFT) or its computationally efficient companion, the fast Fourier transform (FFT), both of which decompose the data into Fourier series coefficients from which the power spectrum can be derived [
1,
2]. These transformations are inherently invertible, computationally efficient, and straightforward to implement. However, their applicability is constrained by the requirement of equidistant and complete [
1] sampling—limitations that pose challenges for data acquisition, in general. In practical applications, missing or corrupted data are often handled by substituting zero values, a common but problematic approach. While not the intention, zero values provide some sort of information and do not mean “not acquired”. Subsequently, zero values introduce a systematic error that leads to increased inaccuracies in frequency and amplitude estimation, ultimately affecting the reliability of parameter estimation. While the DFT naturally extends to higher dimensions—facilitating applications such as image reconstruction in magnetic resonance imaging [
3], image filtering [
4], and higher-order spectral filtering in spatiotemporal domains [
5]—its performance deteriorates in the presence of non-uniform sampling. In ultrafast nuclear magnetic resonance (NMR) spectroscopy, non-uniform sampling enables the substantial acceleration of chemical analysis [
6,
7], albeit at the cost of increased missing data, reduced sensitivity, and signal attenuation. These limitations are inherent to DFT-based and similar techniques, as they exhibit reduced accuracy when applied to incomplete datasets with data gaps [
8]. Although alternative methods, such as the “non-uniform Fourier transform” [
9,
10,
11], attempt to address these issues, they remain reliant on classical orthogonal mode decomposition (e.g., FFT, DFT, wavelet transform) and thus inherit systematic errors, as discussed in
Section 2.2. The recent publication by Wei and Yang [
12] discusses the associated theory, complexity, and applications. They also compare different realizations of the non-uniform FFT.
The application of techniques based on Fourier series to signals with non-equidistant sampling is difficult, since it usually requires zero padding (replacing missing values with zeros) on a grid and, in the general case, resampling or interpolation of the data to a regular grid [
13,
14]. The effect of a gap-filling method was investigated extensively by Munteanu et al. [
8]. They concluded that without a corrective measure, errors such as the amplitude minimization—which depends on the total gap density—cannot be avoided when FFT or DFT is applied. On the other hand, interpolation could be utilized to shift non-uniformly sampled data to a regular grid, such that the new interpolated data points comprise the signal information and a projection of the accompanying noise. In the general case, such distortions or noise are not band-limited, leading to biased estimates that consist of the local and aliased errors (e.g., noise, outliers, missing values) of the surrounding data.
Astrophysical data, for example, are affected by gaps, missing values, and uneven sampling. When ground-based radio telescopes are exploring areas in space, there may exist time intervals in which the antenna is not pointing towards the object of interest due to the rotation of the Earth. The result is an incomplete dataset. Non-uniform (random) sampling emerges; for example, the irregular appearance of objects, such as sunspots, is measured as a binary quality depending on the time and location.
Section 5.3 provides a working example, which analyzes the frequencies and periods in latitude and time from the two-dimensional dataset of sunspot observations. Another technical example for random sampling (with highly variable sampling frequency) is asynchronous data acquisition in large sensor networks, which are used in Smart Homes, Industry 4.0, and automated driving; see Geneva et al. [
15], Cadena et al. [
16], Sudars [
17]. Here, the time series provides missing values and data gaps originating from time periods in which either strong noise prevents the measurement or the source of the signal to be measured is not within the range of the sensor.
The Lomb–Scargle method (LSM) was developed especially for ground-based non-uniformly sampled one-dimensional data, from which the amplitude spectrum is calculated [
18,
19]. The main advantage of this method is that it can directly estimate the spectrum without the iterative optimization of trigonometric models, as discussed in
Section 2.1. A fast version for one-dimensional signals was presented by Townsend [
20] and Leroy [
21]. As discussed in Mathias et al. [
22], the computational complexity of estimating such a periodogram is significant. Consequently, even when using accelerated algorithms, refer to [
20], the calculation remains a computationally intensive problem with a complexity of
, if
N equals the number of samples and
M the number of processed frequencies. Additionally, Zechmeister and Kürster [
23] introduced a generalized Lomb–Scargle (GLS) method, which incorporates individual measurement errors for each sample and an extra constant term per frequency. Initially, all developments presented here will be based on the traditional Lomb–Scargle method. However, other related methods like GLS can be extended to multivariate analyses as well with the subsequently presented method. An implementation can be found in the corresponding R-Package (Version 2.0 from 2021) [
24].
An extension of the LSM to two- or three-dimensional time series has not yet been presented. Especially for large multivariate datasets, this direct approach would be comparably faster than the present iterative procedures proposed in (Babu and Stoica [
25], Chapter 9). The advantages of multivariate LSM are demonstrated in
Section 5 by means of a 3D ultrasound flow profile measurement and the 2D analysis of sunspot time series data.
In the case of the analysis of flow profile measurements, which were obtained in an experiment investigating the magnetorotational instability in liquid metals [
26], this method would be highly desirable. Due to the complex experimental setup and the weak signal-to-noise ratio, the flow profile measurements contain several time intervals in which distortions are dominant; see Seilmayer et al. [
27]. These time intervals have to be rejected, leading to a time series with invalid (missing) data points, from which the multivariate version of the LSM is able to determine the parameters of the characteristic traveling wave.
In order to demonstrate the method and to motivate the basic idea of the multivariate version of the LSM, we compare it—in terms of the necessary conditions and error (noise) behavior—with the traditional orthogonal mode decomposition (OMD) with trigonometric basis functions, which is the essence of the classical Fourier transform. The LSM better fits the conditions of an arbitrary finite length of the sampling series in comparison with the DFT because the LSM reduces the error in the model parameter estimation. In contrast to the traditional approach, which was derived from a statistical point of view (see the appendix of Scargle [
19]), the presented method is deduced from a technical point of view and focuses on its application. This leads to a slight change in the scaling of the model parameters, which is discussed in
Section 4.2. However, the introduced procedure includes all the benefits, such as arbitrary sampling, fragmented data, and good noise rejection.
The starting point of this paper is the analysis of a continuous 1D signal
, which is composed of an arbitrary and finite set of individual frequency components
. Without loss of generality, the band limitation is assumed, and there exists an upper maximum frequency
with
, which mimics an intrinsic low pass filter, characteristic of the measurement device. Since the measurement time is finite, the value of
s is only known in the time interval
with
and
. The
m-dimensional extension of this signal is
. If such a continuous signal is sampled, the pair
represents the measured 1D value and the corresponding instant in time, whereas the pair
represents a measured value and the
m-dimensional location (
space/time) for the
i-th sample (
N is the number of samples). All the methods presented herein were implemented in a package written in
R and are published on CRAN [
24]. The reader will find more elaborate examples in the package and in the
Supplementary Materials 2. Mathematical Model and Comparison of OMD and LSM
In order to delineate the differences between the trigonometric OMD and LSM, we start with the basic model of a periodic signal as a sum of the signals of different frequencies
with the corresponding amplitude
and phase shift
. The corresponding trigonometric model function
describes an infinite, stationary, and steady process
, with the coefficients
for the defined frequency
and the identities
, as well as
. Furthermore, the trigonometric model above consists of an arbitrary number
of frequency components. If the given signal
is described by the defined model from Equation (
1), the model misfit
is given by
Thus, the signal can now be described by inserting Equation (
1) into Equation (
2) and defining the misfit
for each discrete frequency
k with
as follows:
The defined misfit originates from the measurement uncertainties or parametric errors from , . In the general case, can be any function or distribution. The challenge is to precisely determine the model parameters and for a given signal achieving minimal . This can be accomplished by one of the three methods described in the following sections: (i) least-square fit; (ii) orthogonal mode decomposition; (iii) Lomb–Scargle method (LSM).
2.1. Least-Square Fit
The optimal fit is reached by least-square fitting, resulting in a minimum
, which was shown by Mathias et al. [
22], Barning [
28]. Since such procedures are iterative, the convergence of the algorithm might need a large number of function evaluations of Equation (
3). Therefore, a direct version such as the LSM is preferable. The LSM becomes equivalent to a least-square fit of a sinusoidal model [
18,
28].
2.2. Trigonometric OMD
Generally, two functions
are said to be orthogonal on the interval
if the following condition holds; refer to Weisstein [
29]:
By selecting
and
, the integration leads, by exploiting the identity
, to
, which is only zero if
This is true for any
if the length of the interval
is a multiple of the period
, such that
with
. It is interesting to note that this interval can be shortened to one half of the period if
is zero. By exploiting this feature of trigonometric functions, the individual model coefficients are calculated by multiplying the sine or the cosine to the measured data
and integrating over all times as shown by (Cohen [
1], Chapter 15):
For a measured signal, the integration can only be performed over the interval
. It is obvious that an error is introduced if
. In order to investigate the properties of the finite integration, we focus on the cosine term (Equation (
5)), since the analysis of the sine term (Equation (
6)) is similar. By setting the integral boundaries to the finite time interval and expressing the signal using Equation (
3), the integral in Equation (
5) can be written as
Using the identities
and
, Equation (
7) becomes
The equation above indicates that the coefficient
is effected by two errors
(truncation) and
(random), which might be nonzero for an arbitrary
T. Thus, if both errors are neglected, the integral on the left hand side turns into an approximation of
. Taking the consideration about the orthogonality described in Equation (
4) into account,
only becomes zero if the integration time
T is an integer multiple of
. This means for the Fourier series that a given integration time
T (observation window) defines the lowest allowed frequency
. Furthermore, only multiples of this fundamental frequency
with
are allowed in the Fourier series because
in this case.
The technical realization of OMD is called “quadrature demodulation”, which is the discrete version of Equation (
8) by replacing the integral over
into a sum over the discrete sampled values
and setting the truncation error to zero. For a time-discrete signal with
N samples and equidistant sampling with a constant sampling period
, and
, the parameter
(corresponding to the frequency
) is approximated by
According to the previous considerations, the truncation error
is larger than zero if the measurement range
is not exactly a multiple of
, as shown in
Figure 1.
In this example, a signal with a time period of is sampled with , . The total integration time is , slightly longer than the period of the signal, which is indicated by the two additional sampling points after . The truncation error equals the gray shaded area.
Generally speaking, the sampling error in the discrete version can be estimated by
where
,
. The random error is modeled by the
-quantile of the sampling error distribution
related to the underlying process with its specific standard deviation
(e.g., JCGM [
30]). This estimates the confidence interval of
and
, respectively (see the
Supplementary Material for details).
The above considerations lead to the following four statements, which are derived in detail in
Section 2 of the
Supplementary Materials: (i) the maximum absolute value of the truncation error is bounded
if
, which is consistent with the experimental findings from Thompson and Tree [
31]; (ii)
is independent from the total number of samples
N for a constant time
T, which makes the OMD a non-consistent estimator for model parameters
and
; (iii) by increasing the sample rate, the random error decreases by
but scales with twice the standard deviation of the noise distribution; and (iv) the DFT can be derived from Equation (
10) via a restriction to equidistant sampling with constant
.
Concluding, the truncation error—which is an intrinsic feature of the OMD—produces a systematic deviation from the true value depending on the difference between the sampling time interval and the corresponding period of the frequency of interest. In contrast, the random error diminishes with an increasing sampling rate
. A detailed discussion on this topic can be found in Thompson and Tree [
31], Jerri [
32], Shannon [
33]. In the case of multivariate and randomly sampled data, the recent work of Al-Ani and Tarczynski [
34] suggests two calculation schemes for estimating the Fourier transform in the general case. The continuous time Fourier transform estimation (similar to Equation (
9)) takes samples with arbitrary spacing as the general approach, in contrast to the second proposed discrete time Fourier transform (
and
) estimation scheme. Here, the data are projected onto a regular grid, which may provide the locations of missing data. Both schemes consider the sampling pattern
and its power spectrum distribution function
. However, even for such sophisticated methods, the main conceptual drawbacks (see points (i) and (ii)) remain, which motivates the subsequent Lomb–Scargle method as a non-OMD method and its extension to multivariate data.
2.3. Lomb–Scargle Method
As described in the previous section, the disadvantage of the OMD is that the cosine and sine are not orthogonal on arbitrary intervals. By introducing an additional parameter
into Equation (
4), we show that
holds for arbitrary intervals
. By utilizing the trigonometric identities
and
, in order to remove the differences in the arguments, the integral can be transformed to
If this integral is set to zero, the following condition holds
which can be transformed to
Therefore, from Equation (
12), the parameter
verifying Equation (
11) may be found. In the case of equidistant sampling, the value of
can be directly calculated from the integration boundaries by
Based on this general consideration and in order to remove the truncation error, for each frequency
, the time shifting parameter
was introduced by Lomb and Scargle [
18,
19] into the model given in Equation (
1); so,
The parameter
can be calculated by
similar to Equation (
12). For the time-discrete version, the integrals transform into a sum, resulting in
The parameters
can be determined, beginning with Equation (
7), but by factorizing them by
, instead of expanding
to
as performed for Equation (
8). In the following, the method is delineated for the discrete set
, since it is applied to sampled data. These data are multiplied by
, resulting in the following equation for a single frequency
:
where
. The sum of the terms
vanishes because of the proper selection of
, according to Equation (
15). The sum of the terms
describes the modulated noise distribution function. The value of the parameters
can be directly obtained by dividing by
. This gives
The residual error term on the right-hand side, , consists of a random distributed part divided by a sum over the square of the cosine. In contrast to the OMD, the estimation error of the parameter only depends on noise and is independent from the realization of sampling.
The next step is to determine
in terms of a confidence interval with respect to
-quantile of the sampling error distribution
, as performed for the OMD in Equation (
10). Given a normal distributed error function with zero expectation value
and a standard deviation
independent from time (
), the error can be factorized (Parzen [
35], Theorem 4A, p. 90), leading to
estimating the most probable limits of
. In the above equation,
does not depend on the frequency or the shifting parameter and is defined as
The final parameter estimation gives
where the confidence interval
converges to zero when increasing the number of samples
N, for a fixed time interval. This property qualifies the LSM as a consistent estimator of the amplitude and phase [
22]. In addition, the confidence interval
for the LSM is smaller than the value given in Equation (
10) for the OMD (this also occurs for the confidence interval of the parameters
,
). We notice that the definition of
given in Equation (
18) is slightly different from the original definition given by Lomb [
18], but both definitions converge for large
N (see the
Supplementary Materials).
The confidence interval for the amplitude,
, can be deduced by propagating the error
:
In a similar way, the confidence interval for the phase
can be defined by
It is interesting to note that the confidence interval for the phase decreases for increasing amplitude.
3. Spectrum from the Lomb–Scargle Method
In order to determine the spectrum with the LSM, we assume the recorded signal is described by many frequencies. The most significant frequency is then represented by a peak in the frequency spectrum of a certain width and height. The width is determined by the frequency resolution , which equals . From this point of view, the precision of a frequency estimation changes only with the observation length T and seems to be independent from the number of samples N and the signal quality.
The quality
is measured by a signal-to-noise ratio-like expression
with
counting the
significant amplitudes. In Equation (
19),
is the fitted model,
is the uncertainty per sample, with
, and
is the noise per sample. Following VanderPlas [
36], we apply Bayesian statistics and assume that every peak is Gaussian-shaped, i.e.,
. It follows that a significant peak
appears at
, in such a way that
is valid. Here,
is related to the power spectral density
. The frequency uncertainty (or standard deviation) is then given by
so that a significant peak is located in the interval
. This approach suggests that increasing the number of samples in a fixed interval
T enhances the precision of
by reducing
However, if the original signal contains two frequencies with a distance in the range of
, it cannot be excluded, even for the LSM, that these peaks merge together into a single peak with small
, according to Kovács [
37].
As a statistical measure, the probability
states that there is no peak
larger than a reference value
of the best fit. From here, the statistical significance of a single frequency
can be deduced as the so-called false alarm probability (FAP) with
where
M denotes the number of independent (fundamental) frequencies present in the signal. Horne and Baliunas [
38] carried out an extensive study about the number of independent frequencies (and the maximum detectable frequency). They found an empirical approximation
which is a compromise between the conservative
and the artificially large minimal distance value. A detailed discussion on FAP and the independent frequencies can be found in the studies by Baluev [
39,
40,
41]. Furthermore, the Supplemetary Materials provide a detailed discussion on calculating power spectral density (PSD),
, and its standardized companion
according to Zechmeister and Kürster [
23] and Hocke [
42].
Summarizing the properties of the LSM: (i) there is no truncation error ; (ii) the LSM provides better noise rejection compared to the OMD, ; (iii) the specific sampling pattern influences the spectrum calculated using LSM or another OMD-based method. The reversal of this effect is beyond the scope of this work.
5. Application
The selected applications are ordered by the increasing complexity of the sampling and the data themselves. First, a regular grid with missing values for synthetic test data is considered. Second, Ultrasound Doppler Velocimetry (UDV) measurement data, which contain jitter and missing values, are analyzed. Finally, a general data scenario given by an astrophysical 2D set of sunspots, which appear freely in time and space, is investigated.
5.1. Synthetic Test Data
We start with a simple test case, where the input signal is a simple two-dimensional plain wave , with and representing the dimensionless frequencies. These fixed frequencies are selected in such a way that , with and . This ensures the situation where the signal frequency does not map to any test frequency if DFT is performed, which results in the worst-case scenario for all DFT-based methods. The aim is to enlarge the truncation error in case of the DFT for frequencies that do not match.
The 2D sampling of
is performed with
. With respect to the chosen frequencies
and
, it becomes evident that both frequencies do not fit to the data range by an integer fraction. Data gaps are introduced by removing randomly distributed and uncorrelated grid points covering 60% of the total dataset. The latter is an exaggerated example of how data with a high proportion of missing values can be analyzed using multivariate LSM. Therefore,
Figure 2a shows the non-uniform distributed input data. Gray areas indicate missing values (non-available numbers “
”). As the LSM requires an appropriate input vector of frequencies, we choose for both variables
with a resolution of
. This ensures that the frequency space is sampled sufficiently densely.
The corresponding power spectral density (PSD) from the LSM (see the
Supplementary Materials for the definition), shown in
Figure 2b, displays the maxima at the first and third quadrants, which represent a wave traveling upwards. The figure illustrates that even with a lot of missing data, it is possible to properly detect the periodic signal. In the present case, the value of
indicates a perfect fit to the corresponding sinusoidal model. For comparison,
Figure 2c depicts the standardized PSD
calculated from a DFT denoted by the operator
. Here, missing values (
) are handled by zero padding, which means that the introduced gaps are filled with zeroes. Since the DFT represents a conservative transformation (mapping) into the spectral domain, zero padding leads to a significant reduction in the average signal energy. A proper rescaling to the number of zeros
(missing values) is required to ensure approximated amplitude estimations. Zero padding always changes the character of the input signal, in such a way that the corresponding DFT treats the zeros as if they were part of the original signal. The resulting PSD then becomes different from the original. Since the signal frequencies
do not fit into an integer-spaced scheme of the data range, the DFT suffers drawbacks, as briefly discussed in
Section 2.2. The effects of leakage and the misfit of frequencies can be seen in
Figure 2c, in terms of a rather coarse resolution and a lower PSD value.
5.2. Three-Dimensional UDV Flow Measurement
The second example is taken from previous experimental flow measurements [
26] devoted to investigating the azimuthal magneto-rotational instability (AMRI). The experiment consists of a cylindrical annulus containing a liquid metal between the inner and the outer wall. The inner wall rotates at a frequency
, whereas the outer wall rotates at a frequency
. The flow is driven by the shear, since
. Two ultrasound sensors mounted on the outer cylinder, on opposite sides of each other and at the same radius, measure the axial velocity component
along the line of sight parallel to the rotation axis of the cylinder. Additionally, the liquid metal flow is exposed to a magnetic field
(
r is the radial coordinate), originating from a current
on the axis of the cylinder. A typical time series of the axial velocity (along the measuring line) is displayed in
Figure 3. The existence of periodic patterns (large blue inclined stripes) in this figure indicates a traveling wave propagating in the fluid. In cylindrical geometry, a traveling wave is described in terms of the drift frequency
, the vertical wave numbers
k, and the azimuthal wave numbers
m. A close look at
Figure 3 shows that this wave is not axially symmetric, and the leading azimuthal wave number is
. This is indeed proven in the following through the LSM analysis.
The measured time series for depends on the time , depth , and the angular positions of the sensors and , where the subscript n indicates the sampling. The azimuthal angles depend on the time, since the sensors are attached to the outer wall. This induces the mapping , where is meant to be one of the two sensors at each sampling instance. Finally, the measured velocity component is a mapping , which fits perfectly to the proposed multivariate LSM.
Figure 4 illustrates the result of the LSM decomposition into several azimuthal
m-modes with the corresponding amplitudes. The
mode contains a stationary structure, at a frequency
, which originates from sensor mis-alignments and (thermal) side effects in the flow. The minor non-stationary components, here the two point-symmetric peaks, originate from crosstalk (or alias projections, see labels on
Figure 4) of the
mode. This is mainly for two reasons: First, the sensors do not behave identically (e.g., misalignment or different sensitivity) and respond slightly differently to the same flow signal. This means that one of the sensors projects a little more energy into the data than the other, which leads to a “leakage” effect and a weak signal in the
mode. Second, the rotation of the sensors acts as an additional sampling frequency
. In consequence, the spectrum of this regular sampling function folds with the spectrum of the observed process, leading to alias images (copies) of the original process spectrum into other frequency ranges (i.e.,
ms). In the present multivariate analysis, these alias structures exhibit point symmetry in the
panel, indicating corresponding traveling waves. It is evident that these aliases originate as a systematic error from the LSM method and, due to their symmetry, effectively cancel each other out. One could also argue that the multivariate LSM enables a robust identification of alias amplitudes that do not belong to the observed process.
The AMRI wave itself is located in the panel, with a characteristic frequency in time (f) and in the vertical direction (k). Here, two components can be identified: the dominant wave at and and a minor counterpart at and . The signals observed in the and panels might be due to aliases because of the rotation of the inner cylinder at a frequency .
The advantage of “high” dimensional spectral decomposition is the improved noise rejection. With respect to the raw data, given in
Figure 3, it is obvious that high-frequency noise is present in the data. Depending on the exact distribution of this noise, its energies spread over a certain range of frequencies. If we could select a representative depth and angle so that
, the velocity
would only depend on time. In the subsequent one-dimensional analysis, the noise would accumulate along the single frequency ordinate, probably hiding the signal of interest. Taking the higher-order analysis distributes the noise energies over multiple domain variables. For the present example, this means that the distortions are projected into higher frequencies
f, higher
ms, and larger
ks. Since the signal of interest remains in the same spectral corridor, its signal amplitude becomes clearer because of the “reduced” local noise.
5.3. Analyzing 2D Sunspot Data
Since the beginning of the 17th century, systematic visual observations of sunspots have been available. This enables the investigation of dynamic processes taking place in the sun. The appearance of sunspots on the sun’s surface depends on the level of solar activity; therefore, it renders some fundamental features of the underlying solar dynamo, such as the
solar cycle. Since the beginning of the 1820s, observational data have been available, in terms of a two-dimensional time series, as displayed in
Figure 5. The data exhibit a periodic wing-like pattern, essentially symmetric with respect to the sun’s equator, forming the sunspot butterfly diagram. This diagram summarizes the individual sunspot groups appearing at a certain time and latitude on the Sun, for the past 190 years. Additionally,
Figure 5 depicts the assigned field polarity order indicated by the sunspot color (gray or black). Given a year
Y and a mean latitude
L (degrees), the field polarity
gives the arrangement of the leading north/south polarity of a sunspot group. This polarity is changing approximately every 11 years, which is called Schwabe’s cycle. The full period of
is called the Hale cycle. The segmentation, shown in
Figure 5, was obtained following the suggestions from Leussu et al. [
43], with some simplifications leading only to minor mis-assignments for individual sunspot groups.
The sunspot data are taken “as-is” from Leussu et al. [
44], which originate from several sources with different levels of quality, i.e., the Royal Greenwich Observatory–USAF/NOAA(SOON) (Available at
http://solarscience.msfc.nasa.gov/greenwch.shtml, (accessed on 10 October 2025)) [
45,
46], Schwabe [
47], and Spoerer [
48] datasets. The reader might also refer to the historic publications of Spoerer [
49], Spoerer and Maunder [
50]. A detailed discussion of the data collection is given by Leussu et al. [
43,
44] and the referenced literature.
In this section, the LSM spectral decomposition from this unevenly sampled binary dataset is obtained in order to identify typical periods. In contrast to the two examples analyzed in
Section 5.1 and
Section 5.2, the sunspot dataset consists of real, arbitrary sampling in both time and space, providing the most general scenario input data for the LSM. The starting point for the subsequent analysis is the simplified segmentation of the butterfly diagram, reassigning the field polarity. The segmentation takes place by optimizing the distance
d (in the
-plane) between each sunspot and the segmentation line
which is a piecewise linear function with intersection point
. The individual slopes, with
, are assigned on the northern and southern hemispheres, respectively. The final segmentation, shown in
Figure 5 consists of 18 individual cycles subdivided by a “>”-shaped separation area.
The LSM spectral decomposition is based on the definition of a two-dimensional wave model
where
P is given by the assigned patch polarity. To show the advantage and robustness of the LSM, the raw data are employed without any further preprocessing. The selected frequencies
are given on a rectangular grid with inverse distance so that the periods are distributed uniformly alongside the consecutive counter
n. Furthermore, the frequency resolution close to
is selected as finer to better resolve this region.
Figure 6 gives the resulting LSM spectral decomposition in a reciprocal log-scale plot to analyze the different periods. Each of the selected peaks (numbered black dots) provides an FAP value of
, meaning that these periods are significantly different from the noise level. Each of these points originates from a local frequency refinement to achieve the local maximum amplitude. The binary order information
induced by the sunspots introduces higher harmonics into the spectrum, which also appears with a significantly low FAP value.
Figure 6 provides good agreement between the peaks found and the commonly known periods.
Table 1 summarizes the major outcome in comparison with the literature. For example, the
Hale cycle varies from 18 to
(Usoskin [
51]), which is identified by the two main peaks. Since the solar cycle is modulated—we refer the reader to Hathaway [
52]—it is natural that a broad spectrum with many harmonics is present. These subsequent patterns are related to a set of local maxima, mainly collapsing on a horizontal line at
, indicating that the complex structure of the individual wing shapes of the butterfly diagram with different widths, heights, and orientations corresponds to a main period
. Next, we can identify typical periods, which are related to the Gleissberg process (see
Table 1), or the short periods in the range of
, which are consistent with the data provided by Prestes et al. [
53] and Kane [
54] and partly with Deng et al. [
55].
The latitudinal dimension of the spectrum spreads the peaks vertically, which is an advantage over a purely 1D analysis, where all signals would be projected on the
line. In addition, complex patterns such as the lines of constant phase velocities (dashed curve of
Figure 6) may be used to analyze modulations in the dynamics of the sunspot motion.
6. Conclusions
In the present work, a multidimensional extension of the Lomb–Scargle method was developed. The key aspect is the redefinition of the phase argument to . We suggest using a modified shifting parameter in contrast to the traditional approach, which shifts the ordinate instead of the phase. This enables multivariate modeling with a single scalar value for all independent variables, as there is always a shifting parameter, , for which vanishes on any interval .
With respect to the evaluation of the measurement results, the noise rejection and confidence intervals ( and ) of the model parameters and are delineated. To emphasize the advantages of the LSM, it is compared with the traditional Fourier mode decomposition. The systematic error does not vanish for FT-based methods with the increasing number of samples on a fixed interval T, which finally leads to the common leakage effect. Here, the signal amplitudes are distributed on an area of neighboring spectral components; i.e., individual bins or pixels. We conclude that the standard orthogonal mode-related procedures do not represent a consistent estimator for model parameters and , whereas the introduction of in the LSM leads to a consistent estimator with , even for higher dimensions. Finally, it was shown that the LSM converges to the true model parameters with an increasing number of samples and provides better noise rejection () as well.
The examples from
Section 5 underline the strengths of the developed procedure in a consecutive way. First, the application on ideal two-dimensional test data shows the ability to analyze fragmented time series. Here, the sampling remains regular, meaning
with
, but with
as an incomplete set of locations to describe the missing values. A second quasi-similar situation is given in the experimental dataset of UDV measurements, for which a certain level of jitter is expected. The dimensionality in this example was extended to
to decompose the wave parameters in frequency
f, symmetry
m, and spatial frequency
k.
As the third analysis, sunspot datasets represent the most general case of uneven sampling. Taking only the time series of positions into account, the LSM is able to calculate the spectrum on an individual frequency grid, pronouncing the low frequencies close to zero. The assignment of to each data point is a minor modification, such that the data can be assumed to be binary raw data. The spectral decomposition with the LSM shows the characteristic footprint of waves and its dynamics present in the butterfly diagram. The time–frequency spectrum itself provides the commonly known frequencies, i.e., Hale Cycle or Gleissberg process. The second frequency provides information about the minor peaks, which spread into the latitudinal domain. Moreover, from these values, the sunspot drift motion may be calculated using a characteristic v-line with its side bands.