1 Introduction

Over the last three decades, tremendous advances in precision cosmology have aided our understanding of the early universe. The Standard Model (SM) has emerged as the most successful model for describing the evolution of the universe owing to the support of numerous precise observations. While SM enjoys widespread acceptance, it does have a few drawbacks, such as horizon problem, flatness problem etc. Among the numerous candidate theories for the early universe, inflation [1,2,3,4,5,6,7] has proven to be the best contender to account for these problems. Additionally, inflation has been able to account for the dynamics of primordial fluctuations that seeded the formation of large scale structures today [8, 9]. The imprints of these primordial fluctuations can be best identified in the cosmic microwave background radiation (CMB).

From COBE [10, 11] to the PLANCK [12,13,14] mission, we have made significant progress in our understanding of CMB physics. With the help of CMB data, inflation has emerged as the most promising candidate for describing the near homogeneous and isotropic nature of the Universe over the large scale. Numerous inflationary models exist that appear to be consistent with the CMB observations, in which a near flat potential generates a nearly scale invariant spectrum of scalar perturbations. While these models appear to be consistent with the observational data, it has been noted that adding a few features to these flat power spectra may result in a better fit to the data [15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]. These additional features are found to fit a few consistent outliers that are being observed in the data for decades [39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]. The persistent existence of these outliers could be owing to some unknown features of inflationary dynamics, which could expand our understanding of the early universe. As a result, it is critical to investigate about these features in the power spectrum. We provide a single field canonical inflationary potential in this study that simulates these extra features using damped sinusoidal oscillations. A noteworthy aspect of this feature is that it could generate both sharp and resonant featured oscillations, as well as their combinations [57]. Primordial standard clock [58] is one model that can generate a combination of sharp and resonant spectral features, but it is a two field inflationary model. It is shown in [59] that these features could account for the additional smoothing in the CMB temperature spectrum, thus resolving the \(A_{lens}\) anomaly. It increases \(H_0\) while decreasing \(S_8\). Additionally, the model fits the One spectrum [60], which resolves many tensions and anomalies in the Planck data. In this study, we examine alternative best fit candidates for this feature, in addition to the one mentioned in [59], by analysing the entire k-space. Using Planck CMB data, we identify these features in the primordial power spectrum using this range of spectra. Later, we will demonstrate that these features could account for some of the in outliers CMB data that are not captured by the power-law form of the primordial power-spectrum. We examine a few possible candidates, sharp featured and resonant featured, that improve the fit to CMB data noticeably.

This paper is structured as follows. In Sect. 2, we introduce the potential form and discuss the methodology of work as well as the various datasets used for it. The results and discussion of various best-fit candidates are provided in Sect. 3. Finally, we discuss the conclusions and inferences drawn from the work in Sect. 4. Appendices contain the analytical calculations used in the work. We used natural units throughout the paper, \(\hbar = c=M_{pl}=1\). In this paper, we use the metric signature (\(-,+,+,+\)). For formalising the equations, we used three sets of coordinates for time, namely cosmic time (t), conformal time \((\eta )\), and the number of e-folds \(({\mathcal {N}})\). We work in an expanding homogeneous and isotropic universe whose metric is given by the Friedmann Lemaitre Robertson Walker (FLRW) metric having perturbations up to linear order. An over-dot and an over-prime denote differentiation in terms of t and \(\eta \), respectively. Differentiation with respect to \({\mathcal {N}}\) is given by a subscript \({\mathcal {N}}\), i.e.  \(f_{{\mathcal {N}}} = \mathrm {d}f/\mathrm {d}{\mathcal {N}}\).

2 Model and data

In this paper, we investigate the dynamics of a single canonical scalar field in an inflationary potential. Our potential is divided into two parts: a baseline with a slow roll regime where we could begin the inflation, and a small feature in the form of damped cosine oscillation. The nearly scale invariant (slightly red titled) power-spectrum is obtained from the baseline part of the potential. We add features in this baseline potential to capture extra possible signals in CMB data. The feature we propose could be added to any baseline potential that could produce a near scale invariant power spectrum. This was verified using a couple of different base potentials. One can also directly add features to the power-spectrum and estimate parameters, but in such cases, it may be difficult to obtain an expression for potential back from the spectra. Therefore, we work with features in the potential itself.

We consider the potential to be of the following form,

$$\begin{aligned} { V(\phi ) = \gamma ^2 \phi \cosh {(\beta _1 \phi )} + \frac{\alpha \cos {(\omega _\phi \phi )}}{[\beta _2(\phi -\phi _0)]^2 +C}. } \end{aligned}$$
(1)

Here \(\beta _1\) and \(\beta _2\) are fixed and C is an arbitrary constant added to avoid the divergence at \(\phi =\phi _0\). It can be any value other than 0. The power-spectrum tilt is controlled by \(\beta _1\). We fix \(\beta _1\) by performing a parameter estimation with only baseline potential parameters, i.e. by varying only two parameters \(\gamma \) and \(\beta _1\). We allow \(\beta _1\) to vary between values that result in an approximate tilt of 0.94–0.98. This analysis done using Plik bin1. The best-fitting value for \(\beta _1\) results in a tilt of \(\sim 0.96\). \(\beta _2\) regulates the amount of damping applied to the oscillations, ensuring that features remain localised. We can see from Fig. 1 that using the above potential, we can produce both sharp (\(\omega _\phi \rightarrow 0\)) and resonant features (\(\beta _2\rightarrow 0\))in the power-spectrum.

Fig. 1
figure 1

This figure shows two types of features that can be generated by our model in different limits. Here, the red curve is the sharp featured oscillation whose peaks are separated linearly in k and purple curve corresponds to the resonant features whose peaks are separated uniformly in \(\log k\). Note that the x-axis is in \(\log \) scale here

We vary four parameters in the full potential function, one in the baseline part and three in the feature part. The effect of each parameter on the power-spectrum could be understood from Fig. 2.

Fig. 2
figure 2

Variation of the power spectrum in response to changes in potential parameters. Here, we varied one parameter by a specific step size while holding the other three constant. In the upper right corner of each panel, the varying parameter is specified

Potential, as described in Eq. 1, contains sinusoidal oscillations which damps as we move both sides from \(\phi _0\). Assuming a slow roll dynamics during the initial phase of inflation, given an initial value for the field(\(\phi _i\)), one can obtain other initial conditions required to calculate the background dynamics. Here we are working with number of e-folds (\({\mathcal {N}}\)), defined as \(a=a_i\mathrm {e}^{\mathcal {N}}\) where a is the scale factor. Initially, the potential term dominates the kinetic term therefore one can approximate Hubble parameter as, \(3H^2 \approx V(\phi )\). Therefore, \((\phi _{\mathcal {N}})_i\) for a given \(\phi _i\) evaluates to be,

$$\begin{aligned} H_i= & {} \sqrt{V(\phi _i)/3}, \end{aligned}$$
(2a)
$$\begin{aligned} {\phi _{\mathcal {N}}}_i= & {} -\frac{V_\phi (\phi _i)}{3H_i}. \end{aligned}$$
(2b)

Once we have the initial conditions we solve for the background equations and get the form of \(\phi \), \(\phi _{\mathcal {N}}\), and H as a function of e-folds(\({\mathcal {N}}\)). We do all these calculations using the FLRW metric. With aforementioned quantities, we can get the slow roll parameter, \(\epsilon ({\mathcal {N}})\), and calculate the end of inflation(\(\epsilon ({\mathcal {N}}_{end})=1\)). To find initial value of scale parameter, \(a_i\), we impose that the mode \(k=0.05 ~\mathrm{Mpc^{-1}}\) crosses the horizon at \({\mathcal {N}}= {\mathcal {N}}_{end}-50\) [61]. Once the background is evaluated completely, we add the perturbations to the fields and solve for the curvature perturbation as discussed in Appendix A.

The field continues to be in the slow roll phase till it feels the effect of oscillations. Once the effect of oscillations take over, the field accelerates into an intermediate fast-roll phase which is responsible for the features in power-spectrum. Inflation continues as the field rolls further down the potential till \(\epsilon \) becomes one. Assuming Bunch–Davies initial condition [62], one solves for the curvature perturbation (\({{{{\mathcal {R}}}}}\)),

$$\begin{aligned} {{{{\mathcal {R}}}}}_k'' + 2\bigg (\frac{z'}{z}\bigg ){{{{\mathcal {R}}}}}_k' + k^2{{{{\mathcal {R}}}}}_k = 0, \end{aligned}$$
(3)

and get the power-spectrum from

$$\begin{aligned} {\mathcal {P}}_s(k) = \frac{k^3}{2\pi ^2}|{{{{\mathcal {R}}}}}_k|^2. \end{aligned}$$
(4)

One can also use the Mukhanov–Sasaki equation (Eq. 13b) to get the power-spectrum.

We calculate the primordial power-spectrum numerically with the help of publicly available code \(\texttt {{BINGO}}\) [63]. \(\texttt {{BINGO}}\) solves for \({{{{\mathcal {R}}}}}\) for each k to get \({{{\mathcal {P}}}}_s\) as a function of k. Technically, one needs to integrate curvature perturbation throughout the inflationary epoch. But it can be safely approximated to a region from \({\mathcal {N}}_i\) deep inside Hubble radius(\( k \gg aH\)) and to an \({\mathcal {N}}_e\) well outside the Hubble radius(\(k \ll aH\)). This could be calculated using the following conditions:

$$\begin{aligned} k= & {} {C}_{IC} a({\mathcal {N}}_i)H({\mathcal {N}}_i), \end{aligned}$$
(5a)
$$\begin{aligned} k= & {} {C}_{SHS}a({\mathcal {N}}_e)H({\mathcal {N}}_e). \end{aligned}$$
(5b)

For each mode, we calculate the \({\mathcal {N}}_i\) and \({\mathcal {N}}_e\) using appropriate choice of \({C}_{IC}\) and \({C}_{SHS}\) values [64]. We fix \(C_{SHS}\) but we do vary \(C_{IC}\) depending on the oscillations present at a given scale, i.e. for modes near high frequency oscillations in power-spectrum, we use a larger value for \(C_{IC}\). Typically, it’s value is 200.

We incorporate \(\texttt {{BINGO}}\) into \(\texttt {{CAMB}}\) [65, 66] and calculate the angular power-spectrum using the Boltzmann equations. We run Markov Chain Monte Carlo (MCMC) using CosmoMC [67, 68] and identify regions in parameter space which gives an improvement in fit. Starting from the aforementioned regions, we then run BOBYQA [69] to obtain the best-fit values for the parameters.

We performed our analysis using the Planck mission’s most recent CMB temperature and polarisation anisotropy data. Planck was able to map the CMB sky over a wide range of multipoles (\(\ell =2-2500\)) on both small (\(\ell \ge 30\)) and large (\(\ell =2-29)\) scales. We use two sets of likelihood for high-\(\ell \) in our analysis: Plik-bin1-TTTEEE [12, 70] and CamSpec-v12-5-HM-cln-TTTEEE [71]. We use commander-dx12-v3-2-29 for low-\(\ell \) TT and simall-100x143-offlike5-EE-Aplanck-B for low-\(\ell \) EE. Plik-bin1-TTTEEE represents the completely unbinned TTTEEE likelihood, and CamSpec represents the newly cleaned CamSpec. CamSpec-v12-5-HM-cln-TTTEEE employs a sophisticated data analysis pipeline to generate an improved CamSpec likelihood and also an increased sky fraction for temperature and polarisation. In our study, we vary the nuisance parameters in addition to the background parameters, and we include the priors involved, as indicated in the Planck 2018 and CamSpec likelihood papers [12, 71]. The prior used for the potential parameters is given in Table 1. We perform the analysis across multiple parameter templates and narrow it down to three best-fit candidates for each likelihood. The following section will discuss these three candidates in greater detail.

Table 1 The table contains the prior range we used for the inflationary potential parameters
Table 2 Short hands used for the combination of Planck likelihoods used for the analysis. We have used same low \(\ell \) (lowT + lowE) likelihoods for both the sets
Fig. 3
figure 3

The figure contains the triangle plot for the feature model parameters corresponding to Plik bin1. Here we can see multiple region in parameter space which could lead improved fit to data using different combination of these parameters

3 Results

The following is the nomenclature used to identify the candidates: The likelihood against which it is tested followed by the candidate number. For example, Plik-1 specifies that it’s the first candidate analysed against Plik likelihood (Table 2).

3.1 Best-fit candidates

We explored the parameter space using MCMC algorithm and were able to identify multiple regions that could improve the fit to data (Fig. 3). We perform the analysis using Plik-bin1. To identify these regions, we study various points that lie within \(\Delta \chi ^2=1\) region from the global minima of \(\chi ^2\) value of the MCMC run using BOBYQA. While performing the BOBYQA analysis we make use of both Plik-bin1 and CamSpec clean likelihoods. Using BOBYQA analysis, we are able to identify three candidates that gave improvement in fit for each likelihood. Those are Plik-1, Plik-2, Plik-3 (Plik  candidates) and CS-1, CS-2, CS-3 (CS  candidates). We also calculated the bayesian evidence using MCEvidence [72] python package. The evidence only provided a 0.3-factor weak support for the baseline model. But according to Jeffrey’s scale, this is an inconclusive evidence.

Table 3 Best-fit parameters and likelihood obtained for the candidates of the Plik-bin1 TTTEEE+lowT+lowE likelihood. First four are the \(\Lambda \)CDM background parameters and the next four are the inflationary potential parameters. Final row gives the \(\chi ^2\) values obtained by the candidates. Improvement in fit obtained are 10, 8.5, and 6 respectively for the candidates Plik-1, Plik-2, andPlik-3
Fig. 4
figure 4

Residual plots corresponding best-fit candidates to Plik-bin1 TTTEEE + lowT + lowE likelihood. Here residual is calculated from the power-law \(\Lambda \)CDM model. Zero line corresponds to the power-law \(\Lambda \)CDM model and data points are from the 2018 Planck Plik data residual to the power law best fit

Table 4 Best-fit parameters and likelihoods obtained for the candidates of the CamSpec clean TTTEEE + lowT + lowE likelihood. First four are the \(\Lambda \)CDM background parameters and the next four are the inflationary potential parameters. Final row gives the \(\chi ^2\) values obtained by the candidates. Improvement in fit obtained are 5, 3.8, and 3.7 respectively for the candidates CS-1, CS-2 and CS-3
Fig. 5
figure 5

Residual plots corresponding best-fit candidates to CamSpec clean TTTEEE + lowT + lowE likelihood. Here residual is calculated from the power-law \(\Lambda \)CDM model. Zero line corresponds to the power-law \(\Lambda \)CDM model and data points are from the 2018 Planck CamSpec data residual to the power law best fit

Table 5 Outliers addressed by the Plik-bin1 (first three) and CamSpec clean (last three) candidates from the residual plots of TT, EE and TE correlation in Figs. 4 and 5

The best-fit values for the Plik runs are presented in Table 3. We investigated three candidates for the Plik-runs based on the \(\chi ^2\) improvement we obtained from the BOBYQA runs. We are comparing it to the \(\chi ^2\) obtained from the power-law form of the primordial spectrum (referred to as the power-law model from now on), which has a \(\chi ^2=24548.5\) value. We can see from Table 3 that we get 10, 8.5, and 6 improvement for the candidates Plik-1, Plik-2, and Plik-3, respectively. The residual plot from Plik-runs with respect to the power-law model is shown in Fig. 4. The power-law model is represented by the zero line, and the coloured lines are candidates. We can observe slight power suppression in the case of Plik-3. Here the improvement comes mainly from the high-\(\ell \),  4.3 while the low \(\ell \) gives around 1.45 improvement. Plik-3 also gave 2. The TT residual plot is able to capture the outliers in the range \( \ell = 1000\)–1500, while the EE and TE residuals could capture comparatively lower multipoles ranging from 140 to 600. The exact outlying multipole values captured by the Plik-candidates are given by the Table 5.

The best-fit values for the CS runs are given in Table 4. The \(\chi ^2\) value for power-law primordial power-spectrum is 10211.3, i.e. the improvement for candidates CS-1, CS-2, CS-3 are 5.0, 3.8 and 3.7 respectively. Figure 5 contains the residual plots for CS runs with respective to the power-law model. Similar to Plik-candidates, residual plot of CS candidates for TT also captures the outliers in large \(\ell \) values and EE captures for \(\ell \sim 400\). The complete list \(\ell \) values of the outliers captured by the CS candidates are given in Table 5.

3.2 Scalar power-spectrum

We present here the local and global best-fits to the data. We saw an improvement in \(\chi ^2\) at three different points in the parameter space. One for low frequency, one for intermediate frequency, and one for high frequency oscillations. CS-1 and Plik-1, which have a high frequency, are the global best-fit to the data for both CamSpec clean and Plik-bin1 likelihoods. They are both located in very close proximity in the parameter space. Plik-1, the best-fitting Plik candidate, has features at a smaller scale, \(k \sim 4\times 10^{-2} ~\mathrm{Mpc^{-1}}\), whereas Plik-3 has the features at slightly larger scales that end near \(k \sim 10^{-2} ~\mathrm{Mpc^{-1}}\). Plik-2 have features ranging from \(k \sim 10^{-3} ~\mathrm{Mpc^{-1}}\) to \(k \sim 5\times 10^{-2} ~\mathrm{Mpc^{-1}}\). We saw a similar pattern with the CamSpec clean candidates, which are very close to the Plik candidates in the parameter space and in the same order. The power-spectrum for both sets of candidates has been plotted in Figs. 6 and 7. In Fig. 8, a comparison of the global best-fit for two sets of candidates is given. Both are found in the same location, and the amplitude and frequency of the oscillations are comparable.

Fig. 6
figure 6

Power-spectrum for the best-fit candidates to the Plik-bin1 likelihood Plik-1, Plik-2 and Plik-3

Fig. 7
figure 7

Power-spectrum for the best-fit candidates to the CamSpec clean likelihood CS-1, CS-2 and CS-3

Fig. 8
figure 8

Power-spectrum for the global best-fit of both CamSpec clean (CS-1) and Plik-bin1 (Plik-1) likelihood

Fig. 9
figure 9

Scalar bi-spectrum evaluated in the equilateral limit for the best-fit candidates of the both Plik-bin1 (left side) CamSpec clean (right side) likelihood

Fig. 10
figure 10

Verifying consistency relation (Eq. 6) for the best-fit candidates to the Plik-bin1 (left side) and CamSpec clean (right side) likelihood

Fig. 11
figure 11

2D heat map of \(f_{NL}(k_1/k_3,k_2/k_3)\) for the best-fit candidates to the Plik-bin1 (left side) and CamSpec clean (right side) likelihood. \(f_{NL}\) values are given in the color bar. Here \(k_3\) is the mode which gave the maximum \(f_{NL}\) in the equilateral limit for the corresponding candidate

3.3 Scalar bi-spectrum

Non-Gaussianity in canonical inflationary models that are completely governed by slow roll dynamics is negligible [73, 74]. Deviations from the slow roll nature, on the other hand, produce scale dependent oscillations in the \(f_{NL}(k)\) [14, 63, 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92]. As a result, features in our candidates produce a significant oscillatory bi-spectrum. In this section, we compute the \(f_{NL}\) for each of the six candidates. We are evaluating bi-spectrum in three limits: equilateral (\(k_1=k_2=k_3\)), squeezed (\(k_1\approx k_2 \gg k_3\)), and scalene (arbitrary triangular configuration). In all three limits, we use BINGO to evaluate the \(f_{NL}\). To calculate the \(f_{NL}\), we use the same method described in Sect. 3.2 and substitute in Eq. 32. Figure 9 displays the \(f_{NL}\) for all six candidates in the equilateral limits. One can show that in the squeezed limit \(f_{NL}\) reduces to

$$\begin{aligned} f_{NL} = \frac{5}{12}\left( n_s -1 \right) . \end{aligned}$$
(6)

This relation is called the consistency condition [73, 93]. Figure 10 verifies the consistency relation for all six candidates. The numerically calculated \(f_{NL}\) matches well with the analytical result. In the scalene limit, we obtain the 2D heat map of \(f_{NL}(k_1/k_3,k_2/k_3)\) by fixing the value of \(k_3\) [63]. Figure 11 plots the 2D heat map of \(f_{NL}\). Top left corner of 2D map can be identified as the squeezed limit, i.e.  \(k_2=k_3\gg k_1\) and the top right corner is the equilateral limit, i.e.  \(k_1=k_2=k_3\).

One can locate the maximum non-Gaussianity of three point correlation in equilateral limits (Fig. 9). Here, CS-2 and Plik-2 generates a \(f_{NL}\,\) \(\sim 6\). This is because of the low frequency oscillations present in the potential and thereby in the scalar power-spectrum. CS-3 and Plik-3 generates highest \(f_{NL}\,\) amongst these candidates which is around \(\sim 33\). This is due to the presence high amplitude and relatively larger frequency of oscillations present in the potential. Even though Plik-1 and CS-1 have large frequency oscillations, their amplitude is small compared to other four candidates which results in a \(f_{NL}\,\) \(\sim 19, 15\) respectively.

4 Conclusion

We have studied the effect of damped oscillations in a nearly flat inflationary potential and compared the spectra with Planck 2018 data. Our model is able to identify resonant features and sharp feature separately at different scales. We are able to see that at smaller scales data prefers resonant features but at the intermediate scales sharp oscillations give better fit. We have separately used two high \(\ell \) likelihoods, namely Plik-bin1 and CamSpec clean, for the analysis. With the addition of 3 parameters, we are able to get around 10 and 5 improvements for Plik-bin1 and CamSpec clean likelihood respectively. The Bayesian analysis didn’t give any conclusive evidence for the model, though it weakly supported the baseline model by a factor of 0.3. We have studied three candidates each for both Plik-bin1 and CamSpec clean likelihoods. They have provided 10, 8.5, 6 improvements for the Plik-bin1 and 5, 3.8, 3.7 for the CamSpec clean. This indicates that the extent of improvement is less in the CamSpec clean compared to the Plik-bin1 for all candidates. While the first candidate has features located at the smaller scales (\(10^{-2}-10^{-1}~\mathrm{Mpc^{-1}}\)), the third one has oscillations at large to intermediate scales (\(10^{-3}-10^{-2}~\mathrm{Mpc^{-1}}\)). The second candidate has features at the intermediate to small scales. Owing to the feature location for different candidates, different outliers are captured in the \(\ell \) space. Scalar bi-spectrum, \(f_{NL}\,\), is evaluated in the squeezed, equilateral limits and also in the scalene configurations. All candidates provide oscillating \(f_{NL}\,\)with the maximum amplitude reaching up to 33. The first and third candidate have produced relatively higher \(f_{NL}\,\)amplitude, \(\sim 17, 33\), while the second one have generated a maximum \(f_{NL}\,\)of \(\sim 6\) in the equilateral limit. In squeezed limits, the consistency condition is satisfied at all scales for all three candidates of both likelihoods. Along with the constraints on \(f_{NL}\,\), we can further narrow down the possible candidates for inflation in future. The feature candidates have overlap with scales that future large scale structure (LSS) probes [94,95,96,97,98,99,100,101,102] can explore. Therefore, a joint analysis can help in understanding the significance of these features better.