Introduction {#Sec1}
============

Linear harmonic oscillators are useful idealisations explaining a broad class of phenomena. However, real oscillators are always nonlinear. Typically, they exhibit a soft Duffing nonlinearity turning oscillations to anharmonic one. Despite long-term experimental investigation, new diverse effects have been recently observed in the underdamped Duffing oscillators based on nano-electromechanical systems^[@CR1]--[@CR3]^, micro-electromechanical systems^[@CR4]--[@CR8]^, nonlinear electric oscillators^[@CR9]^, particles trapped in nonlinear potentials^[@CR10]^, solid-state systems^[@CR11]^, mechanical oscillators with a chemical bond^[@CR12]^ and also proposed for upcoming quantum mechanical oscillators with superconducting qubits^[@CR13]^. They stimulate further investigations of both equilibrium states and transient dynamics of anharmonic oscillators.

At long time scales, when dynamics tends to equilibrate, and for short transient times, the anharmonicity can have different impacts. A precise description of transient effects in nonlinear oscillators is therefore essential for our understanding of nonequilibrium physics and applications ranging from nanosensing and thermodynamically engines up to social dynamics^[@CR14]--[@CR23]^. The faithful characterization of a nonlinear oscillator requires to estimate its parameters beyond standard methodology based either on the equilibrium state (ES) or on the power spectral density (PSD) of particle positions or velocities^[@CR24]--[@CR29]^. Both these methods presume that values estimated from steady states are valid also during the transient dynamics. Such assumption can, however, lead to significant systematic errors in the values of estimated parameters, e.g. in the case of a nonlinear oscillator with large amplitudes, as we demonstrate in this paper.

Currently, optomechanics with a levitating particle oscillating in a nonlinear potential formed by an electromagnetic field in an optical or radiofrequency spectral region is a viable platform to test and understand many new nonlinear phenomena and, ultimately, bring them to very low temperatures where quantum mechanics affects the oscillations^[@CR28],\ [@CR30]--[@CR37]^. This trapping technique provides us with new possibilities for mechanical sensing and manipulation in the field of nanotechnology and chemistry. It is therefore desirable that the methodology characterizing parameters of a nonlinear oscillator is applicable also in quantum mechanics. Moreover, the methodology should apply to transient effects, in contrast to the widespread approach based on PSD.

The levitating nanoparticle system is specific because the nanoparticle position is typically the only directly observable quantity. The velocity can be in principle determined using an independent Doppler velocimetry^[@CR38]^ or by homodyne detection^[@CR39]^ but this technique requires a high speed detection and data acquisition system. An object velocity or momentum is most frequently estimated by a numerical differentiation of measured positions of a levitating particle. Therefore, a method which uses information mainly from the particle position is generally more broadly applicable.

In this paper, we present a suitable approach estimating all desired parameters of a weakly nonlinear Duffing oscillator assuming that the particle radius is known. Our estimation method is based on a post-processing of acquired time records of particle positions and averaging trajectories in the statistical ensemble. We compare our results with the commonly used PSD method and, unlike Refs.^[@CR18],\ [@CR40]^, we obtain the Duffing coefficient of nonlinearity without any external driving force which could affect the system parameters and would be undesirable for experimental studies of quantum effects. Moreover, the determined damping coefficient follows well the theoretical prediction down into low pressures. Our method is capable of the determination of parameters on the time scale that is faster than the heating rate which is crucial for experimental testing of transient stochastic phenomena with levitating particles.

Experimental set-up and data processing {#Sec2}
=======================================

A nanoparticle (NP) is trapped in a focused laser beam in all three orthogonal directions. A scheme of an optical trap in a transversal direction is shown in Fig. [1](#Fig1){ref-type="fig"}a. Since the non-conservative scattering force is proportional to a sphere radius $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a$$\end{document}$ as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${a}^{6}$$\end{document}$^[@CR41],\ [@CR42]^, it can be neglected with respect to the conservative gradient forces acting upon an NP. Thus the spatial profile of the trapping potential $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$U\left(x,y,z\right)$$\end{document}$ follows an inverted shape of the optical intensity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$I\left(x,y,z\right)$$\end{document}$ as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$U\left(x,y,z\right)\simeq -I\left(x,y,z\right)$$\end{document}$. Since the real lateral or longitudinal intensity profile is close to the Gaussian or Lorentzian shape^[@CR43]^, respectively, the potential energy of the NP displaced further from the equilibrium position is lower in the real optical trap comparing to the ideal parabolic potential (compare solid red and dashed blue curves in Fig. [1](#Fig1){ref-type="fig"}a). Such slight deviations from an ideal shape are frequently neglected for an NP with cooled translational motion^[@CR28]^ because it moves in the dominantly parabolic bottom of the potential well, and the NP trajectory is analyzed following the theory for an ideal harmonic oscillator^[@CR29]^. However, if NP's motion is cooled but coherently excited, the nonlinearities in the potential arise and drag the NP motion out of ideal harmonic oscillations. It is the same nonlinearity affecting the NP at higher temperatures. Assuming just the first lower-even-order terms in Taylor series expansion of the real profile of the potential near its minimum^[@CR18],\ [@CR44]^, see also [Supplementary Information](#MOESM1){ref-type="media"}, it gives the Duffing type nonlinearity. The nonlinearity in the system can be characterized by the stiffness of the Duffing spring that depends on the position $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ of the object as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\kappa_{{\text{D}}} = \kappa \left( {1 - \xi x^{2} } \right)$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\kappa$$\end{document}$ is the stiffness of the ideal harmonic oscillator and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ represents the coefficient of Duffing nonlinearity. In the real optical traps the coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ is positive and thus the stiffness of the optical spring gets weaker with an increasing deviation from the equilibrium position $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x = 0$$\end{document}$. Such an oscillator is called a softening Duffing oscillator^[@CR14],\ [@CR18],\ [@CR45],\ [@CR46]^. Technical details of the whole experimental set-up are described in Fig. [1](#Fig1){ref-type="fig"}b.Figure 1(**a**) A scheme of a nanoparticle (NP) levitating in one-dimensional optical potential along the lateral axis $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$. Dashed blue and solid red curves denote the parabolic shape of the ideal harmonic oscillator and nonlinear Duffing potential, respectively. Initial conditions of the particle motion are denoted as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left({x}_{0},{v}_{x0}\right)$$\end{document}$. (**b**) Experimental set-up. A low-noise $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$-polarized laser beam (wavelength 1064 nm, Mephisto 2000NE) is $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$3\times$$\end{document}$ expanded using lenses L1 and L2 (Thorlabs AC127-025-C, AC254-075-C). The trapping power is controlled by a rotating half-wave plate $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\lambda /$$\end{document}$2 (Thorlabs WPH10M-1064) placed in front of a polarizing beamsplitter PBS (Thorlabs PBS253). The beam is focused by an aspheric lens L3 (Lightpath 355330, NA = 0.77) placed inside a vacuum chamber and maximal beam power 100 mW can be obtained here. Silica NPs (170 nm in diameter, Bangs Laboratories, Inc.) are launched from a silicon substrate towards the beam focus by a focused laser pulse (wavelength 532 nm, energy 4 mJ in a single pulse, Continuum Minilite MLII)^[@CR60]^ under a chamber pressure of 7 mBar. The unscattered and scattered light by the NP trapped near the beam focus is collected by an aspheric lens L4 (Thorlabs C240-TME) in forward direction, demagnified by a telescope L5 and L6 (Thorlabs AC254-250-C, AC254-030-C), and detected by a quadrant photodetector QPD (Hamamatsu G6849). The QPD signal is processed by a home-made electronics and the NP positions in all three axes are acquired by National Instruments FPGA card (NI FPGA NI 5783 adapter module, FlexRIO FPGA) with the sampling frequency 1.78 MHz.

An example of a 1D trajectory of an optically levitated NP in a potential well formed by a single strongly focused Gaussian laser beam is plotted in Fig. [2](#Fig2){ref-type="fig"}a. It shows that the NP oscillates with an amplitude that varies in time. Figure [2](#Fig2){ref-type="fig"}b shows two magnified regions of Fig. [2](#Fig2){ref-type="fig"}a (blue) and corresponding NP instantaneous velocity (orange) determined as a central difference $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{x} \left( t \right) = \left[ {x\left( {t + {\Delta }t} \right) - x\left( {t - {\Delta }t} \right)} \right]/2{\Delta }t$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Delta }t$$\end{document}$ is the time step in data acquisition given by the sampling frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Delta }t = 1/f_{{{\text{sample}}}} = 1/1.78$$\end{document}$ μs which is sufficiently high comparing to the examined processes (\~ 90 kHz). In the first example, the NP "wiggles" with a low amplitude ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left| x \right| < {\upsigma }_{x}$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma_{x}$$\end{document}$ is the standard deviation of the particle position) close to the bottom of the potential (center of the optical trap) while the second part of the trajectory shows the sustained oscillations with a higher amplitude ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left| x \right| > \sigma_{x}$$\end{document}$). At the same time scale, small-amplitude motion is strongly affected by noise whereas the large-amplitude oscillations are rather modified by the nonlinear potential softening. Furthermore, Fig. [2](#Fig2){ref-type="fig"}c shows a two dimensional histogram of the Gaussian shape obtained from a long-time data set (30 s) showing probability density function of an NP being in a given volume of a phase space---i.e. having given position and velocity in the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ axis.Figure 2(**a**) Particle trajectory in the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ axis normalized to its standard deviation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma_{x}$$\end{document}$ for the ambient pressure 1 mBar. (**b**) Magnified regions of the trajectory (blue) from (**a**) for small and large oscillations together with the corresponding velocity (orange) obtained by the central difference normalized to its standard deviation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma_{v}$$\end{document}$. (**c**) Probability density function of the NP in the phase space at the ambient pressure 1 mBar for a 30 s long data set. Cross marks define starting points of trajectories shown in (**f**). (**d**) Power spectral density (PSD) of *x* positions of a trapped NP (full curves) with fitted functions given by Eq. ([1](#Equ1){ref-type=""}) (dashed curves) for two different pressures. Obtained frequency and damping are $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0} /\left( {2\pi } \right) = \left( {92403.0 \pm 0.4} \right)$$\end{document}$ Hz, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma } = \left( {59367 \pm 9} \right)$$\end{document}$ s^−1^ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0} /\left( {2\pi } \right) = \left( {91054 \pm 3} \right)$$\end{document}$ Hz, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma } = \left( {14810 \pm 70} \right)$$\end{document}$ s^−1^ for pressures $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p = 10$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p = 0.1$$\end{document}$ mBar, respectively. (**e**) Two-dimensional map showing measured PSD evolution for different pressures. The green and red dashed lines correspond to the pressure 10 mBar and 0.1 mBar shown in (**d**), respectively. (**f**) Mean trajectories obtained by averaging the trajectory sections starting at the same point in the phase space $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,0} \right)$$\end{document}$ for different initial amplitudes $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ at pressure 1 mBar. (**g**) An averaged variance $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ for trajectories started at the same point in the phase space $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {0, 0} \right)$$\end{document}$ at pressure 1 mBar.

A standard steady-state analysis of NP motion in a harmonic potential is based on the power spectral density (PSD) of NP positions described by the following function^[@CR10],\ [@CR24],\ [@CR26],\ [@CR28],\ [@CR47],\ [@CR48]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx} \left( \omega \right) = \frac{{2k_{{\text{B}}} T_{{{\text{SP}}}} }}{m}\frac{\Gamma }{{\left( {\omega^{2} - \Omega_{0}^{2} } \right)^{2} + \Gamma^{2} \omega^{2} }} + P_{{\text{s}}} ,$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$k_{{\text{B}}}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T_{{{\text{SP}}}}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$m$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{0} = 2\pi f_{0}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\omega$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{{\text{s}}}$$\end{document}$ denote the Boltzmann constant, effective spectral temperature of the thermal bath driving an NP with a white noise distribution, particle mass, NP eigenfrequency (in rad/s), frequency, medium damping, and technical measurement noise^[@CR29]^, respectively. PSDs calculated from the long data set for two different ambient pressures are shown in Fig. [2](#Fig2){ref-type="fig"}d. For ambient pressure of 10 mBar and higher we obtained almost perfect fit of Eq. ([1](#Equ1){ref-type=""}) to experimental data because the peak broadening is caused predominantly by the damping $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$ and the resonant peak is not visibly influenced by the nonlinear behaviour or crosstalks with other axes. In contrast in the lower pressures noticeable differences appear: (1) the measured peak is wider and lower than the theoretically predicted one, (2) there is a clear asymmetry of this peak and it exhibits a visible negative skewness. Such a deviation of the experimental PSD profile from the ideal one can be caused by the softening of the experimental potential profile from the assumed ideal harmonic trap^[@CR18],\ [@CR29],\ [@CR44],\ [@CR49]^. If we consider the lowest order of nonlinearity characteristic for a Duffing oscillator (see Fig. [1](#Fig1){ref-type="fig"}a), the oscillation frequency depends on the amplitude of oscillations^[@CR18],\ [@CR44],\ [@CR45]^ as experimental data in Fig. [2](#Fig2){ref-type="fig"}f demonstrate. This behaviour leads to a continuum of new frequency components that contribute to the PSD at frequencies below the PSD resonant frequency (main peak) and cause asymmetry of the PSD peak observed in Fig. [2](#Fig2){ref-type="fig"}d for the lower pressure^[@CR49]^. The secondary peaks observed in Fig. [2](#Fig2){ref-type="fig"}d are caused by crosstalks between the measured $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ axis and other coordinate axes $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z$$\end{document}$ and their higher harmonics. Figure [2](#Fig2){ref-type="fig"}e reveals experimental evolution of the main peak for more values of the ambient pressure with two highlighted levels of pressure discussed above.

Obviously, fitting the steady-state PSD of a real nonlinear oscillator with Eq. ([1](#Equ1){ref-type=""}), which is valid only for the ideal harmonic oscillator, has to lead to an imperfect determination of parameters of the real oscillator^[@CR29]^, as we show later in Fig. [5](#Fig5){ref-type="fig"}. Moreover, this PSD approach is not suitable for current investigation and use of transient out-of-equilibrium coherent effects faster than any heating of the motion^[@CR40]^. After the cooling of levitating systems to the ground state^[@CR37]^, such estimation of the Duffing oscillator from fast transient effects are crucial for upcoming studies of quantum effects^[@CR50]--[@CR54]^.

Therefore, in this work, we propose a novel method for determination of parameters of an optically levitated NP. Unlike the methods based on equipartition theorems in equilibrium steady-state or PSD methods that are independent of initial conditions, we post-process measured stochastic trajectories for selected suitable initial conditions and follow an NP trajectory during a short transient dynamics to determine required parameters. However, we study a stochastic system where a random noise influences the individual trajectories of the NP probing a nonlinear potential. Thus each transient process starting at the same point in the phase space $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right)$$\end{document}$ leads to a different trajectory. Therefore, we opted for an analysis of the moments (e.g. mean and variance) of such ensemble of NP trajectories that start in the same volume of the phase space. Statistical moment dynamics can be further used up to the ground state of mechanical motion.

The consequent post-processing algorithm for one axis (shown for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ axis) proceeds in the following steps:Record of QPD signals in voltage is transformed to the NP positions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ by the calibration factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}}$$\end{document}$ described in Methods.The NP positions acquired at low pressures ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p$$\end{document}$ \< 1 mBar) are filtered by a frequency domain bandpass filter (passband for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ axis: 87--96 kHz, passband for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ axis: 72--90 kHz) in order to keep only the leading oscillation in the selected axis because at low pressures crosstalks between different axes become visible in PSD and influence the analyses of particle motion in a selected axis.Using the filtered NP positions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ determined in equidistant time steps $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Delta }t$$\end{document}$, we calculate NP velocities $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{x} \left( t \right)$$\end{document}$ using the central difference rule $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{x} \left( t \right) = \left[ {x\left( {t + \Delta t} \right) - x\left( {t - \Delta t} \right)} \right]/2\Delta t$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta t$$\end{document}$ is given by the sampling frequency during the data acquisition $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta t = 1/f_{{{\text{sample}}}} = 1/1.78$$\end{document}$ μs. Furthermore, we verified by the computer simulations that the experimental sampling frequency is sufficient to calculate the instantaneous particle velocity even at atmospheric pressure.We look for an event when both position and velocity pass through a small region of the phase space $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0} - \Delta x_{0} \le x_{0} \le x_{0} + \Delta x_{0}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{x0} - \Delta v_{x0} \le v_{x0} \le v_{x0} + \Delta v_{x0}$$\end{document}$, where both $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta x_{0}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta v_{x0}$$\end{document}$ are small but slightly bigger than the experimental uncertainty of measured positions and calculated velocities. If we find several consecutive points in this region, the selected one gives the minimal separation from $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$. The uncertainties were estimated by the high frequency tail of the PSD at frequencies above 660 kHz (see Calibration of quadrant photodetector in Methods) and they correspond to the white noise having standard deviation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim 2$$\end{document}$ nm, which is about 3% of the particle standard deviation from the optical trap center.When such an event is detected, we assume it is the beginning of a new trajectory corresponding to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$t = 0$$\end{document}$ and we take a snippet of an on-going trajectory of length $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta t$$\end{document}$ (typically $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta t \simeq 100$$\end{document}$ μs). This snippet is added into a statistical ensemble of trajectories starting at the vicinity of the point $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right)$$\end{document}$ in the phase space.Steps (4) and (5) are applied on the remaining part of the acquired NP record while over-lapping parts of the trajectories are not included.Averaged trajectory $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\langle x\left( t \right) \rangle$$\end{document}$, velocity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\langle v_{x} \left( t \right) \rangle$$\end{document}$ and their variances $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}} \left( x \right) = \langle x^{2} \left( t \right) \rangle - \langle x\left( t \right )\rangle^{2}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}} \left( {v_{x} } \right) = \langle v_{x}^{2} \left( t \right) \rangle- \langle v_{x} \left( t \right)\rangle^{2}$$\end{document}$ are calculated from the statistical ensemble obtained in the previous steps. Each ensemble may contain from tens up to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim 5 \times 10^{4}$$\end{document}$ snippets of trajectories depending on the selected initial conditions.

Several examples showing such averaged trajectories starting at points $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,0} \right)$$\end{document}$ are shown in Fig. [2](#Fig2){ref-type="fig"}f where the damping of oscillator amplitudes can be clearly seen as well as the frequency dependence on the oscillator amplitude. Furthermore, Fig. [2](#Fig2){ref-type="fig"}g shows the increase in the position variance $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ determined for the particular initial condition $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right) = \left( {0,{ }0} \right) \pm \left( {2\,{\text{nm}},\;1\,{\text{mm}}\,{\text{s}}^{{ - {1}}} } \right)$$\end{document}$. After a short transient process the variance achieves a saturated value which corresponds to the thermalization of the particle motion to the surrounding bath.

Methods for determination of parameters of the Duffing oscillator {#Sec3}
=================================================================

Below we present a description of four methods we use for estimation of the parameters of the nonlinear Duffing-type oscillator. At the end of each subsection describing one method the procedure for the parameter determination is summarized.

The Duffing oscillator approximation (DOA) {#Sec5}
------------------------------------------

In many types of nonlinear oscillators with a harmonic potential minimum, a nonlinearity only weakly modifies harmonic oscillations. In this case it is sufficient to add only the first nonlinear term to the harmonic potential profile description given by a Taylor series expansion^[@CR45],\ [@CR55]^. On time scales shorter than any thermalization, the motion of the so-called Duffing oscillator can be described by the deterministic Duffing equation (DDE) in the following form$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ddot{x} + \Gamma \dot{x} + \Omega_{0}^{2} x\left( {1 - \xi x^{2} } \right) = 0,$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ denotes the particle position along one axis, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma } = \gamma /m$$\end{document}$ denotes the medium damping with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$m$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma$$\end{document}$ being the mass of the oscillator (e.g. a levitating NP) and drag coefficient of the medium (e.g. air at low pressure), respectively. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0} = \sqrt {{\upkappa }/m}$$\end{document}$ denotes the eigenfrequency of the ideal harmonic oscillator with the oscillator stiffness $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\kappa$$\end{document}$ (e.g. the stiffness of the optical trap). $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ represents the coefficient of Duffing nonlinearity and is related to the third order coefficient of the Taylor expansion of the optical force near the potential minimum at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x = 0$$\end{document}$. The softening Duffing oscillator described in this way will be subject of our following analyses.

Local analysis near $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x = 0$$\end{document}$ of such Duffing oscillator for weak damping $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ leads to a solution of the lowest perturbation order in the form of a damped oscillator^[@CR56]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right) = x_{0} \exp \left( { - \frac{1}{2}\Gamma t} \right)\cos \left( {\Omega_{{\text{D}}} t + \theta_{0} } \right),$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\theta_{0}$$\end{document}$ are given by the initial conditions at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$t = 0$$\end{document}$. The frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{{\text{D}}}$$\end{document}$ can be expressed as^[@CR56]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{{\text{D}}}^{2} = \Omega_{0}^{2} \left( {1 - \frac{3}{4}\xi x_{0}^{2} } \right) - \left( {\frac{\Gamma }{2}} \right)^{2} .$$\end{document}$$

Considering only a weakly damped nonlinear oscillator we can define the eigenfrequency of the damped harmonic oscillator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{{\text{H}}}$$\end{document}$ depending on its initial amplitude as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{{\text{H}}} = \sqrt {\Omega_{{\text{D}}}^{2} + \left( {\Gamma /2} \right)^{2} }$$\end{document}$$$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\simeq \Omega_{0} \left( {1 - \frac{3}{8}\xi x_{0}^{2} } \right).$$\end{document}$$

In reality, the micro- or nano-oscillators are driven by thermal noise which is generally assumed as the white noise and the DDE modifies to the Langevin type of stochastic Duffing equation (SDE) in the following form^[@CR18],\ [@CR45]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ddot{x} + \Gamma \dot{x} + \Omega_{0}^{2} x\left( {1 - \xi x^{2} } \right) = \frac{{F^{{{\text{fluct}}}} }}{m},$$\end{document}$$ where the broadband fluctuating Langevin force $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$F^{{{\text{fluct}}}}$$\end{document}$ is uncorrelated in time with zero mean and its variance is given by the fluctuation--dissipation theorem $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left\langle {F^{{{\text{fluct}}}} \left( t \right)} \right\rangle = 0,\left\langle {{ }F^{{{\text{fluct}}}} \left( t \right)F^{{{\text{fluct}}}} \left( {t^{\prime}} \right)} \right\rangle = 2m{\Gamma }k_{{\text{B}}} T\delta \left( {t - t^{\prime}} \right)$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left\langle \ldots \right\rangle$$\end{document}$ denotes correlation of functions within brackets and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta \left( x \right)$$\end{document}$ denotes the delta function. This equation is later used for numerical simulations of the dynamics, results are presented in [Supplementary Information](#MOESM1){ref-type="media"}. Even though Eq. ([7](#Equ7){ref-type=""}) assumes the driving force with a white noise spectrum, the simulations and experimental activities can be extended to a driving force with a coloured noise spectrum, e.g. using an external force with well-controlled frequency spectrum.

### Idealized harmonic oscillations {#Sec31}

For initial conditions close to the potential minimum, the weakly damped nonlinear oscillator behaves predominantly as harmonic^[@CR18]^ and a transient motion can be well described by a harmonic oscillator with an eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{0}$$\end{document}$ continuously damped with rate $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$ and excited by thermal surrounding characterized by the effective transient temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T_{{{\text{TR}}}}$$\end{document}$. It is sufficient to select initial conditions at the potential minimum with zero speed and observe heating and random build-up of many linearized small oscillations. We use the post-selection process described in the previous section, in order to virtually cool down the NP and afterwards the NP motion under the influence of the heat transfer from surroundings is analyzed. This is equivalent to a direct observation of the particle heating in experimental systems^[@CR57]^. If we select the initial conditions at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right) = \left( {0,{ }0} \right) \pm \left( {2\,{\text{nm}},1\,{\text{mm}}\,{\text{s}}^{ - 1} } \right)$$\end{document}$ and determine $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ from the experiment for long enough acquisition time to cover the thermalization, we can fit the variance profile very well using the analytical solution of the linearized harmonic oscillator^[@CR24]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right) = \frac{{k_{{\text{B}}} T_{{{\text{TR}}}} }}{{m\Omega_{0}^{2} }}\left\{ {1 - {\text{e}}^{{ - \Gamma {\text{t}}}} \left[ {\frac{{\Omega_{0}^{2} }}{{\Omega_{{\text{D}}}^{2} }} - \frac{\Gamma }{{2\Omega_{{\text{D}}} }}\sin \left( {2{\Omega }_{{\text{D}}} t} \right) + \frac{{\Gamma^{2} }}{{4\Omega_{{\text{D}}}^{2} }}\cos \left( {2\Omega_{{\text{D}}} t} \right)} \right]} \right\}.$$\end{document}$$

From the fit to the experimental data (see Fig. [3](#Fig3){ref-type="fig"}a) we can determine all three parameters $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega_{0}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T_{{{\text{TR}}}}$$\end{document}$. These parameters remain constant even if the NP enters the nonlinear region. As a cross-check, we can use the variance of velocities, which provides us with the same results. In a weakly damped system with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma \ll \Omega_{{\text{D}}}$$\end{document}$, we can use a simplified formula without oscillations in order to quantify the heating of the system, i.e. medium damping as well as the effective temperature using$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right) = \frac{{k_{{\text{B}}} T_{{{\text{TR}}}} }}{{m\Omega_{0}^{2} }}\left( {1 - {\text{e}}^{{ - \Gamma {\text{t}}}} } \right).$$\end{document}$$Figure 3Time dependent increase in variance $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ of the ensemble of trajectories with initial conditions close to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right) = \left( {0, 0} \right)$$\end{document}$ for different pressures. Blue curves depict experimental data and red dashed curves are fits (**a**) by Eq. ([8](#Equ8){ref-type=""}) and (**b**) by Eq. ([9](#Equ9){ref-type=""}). The values of fitted parameters are $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0} /\left( {2\pi } \right) = \left( {92 \pm 2} \right)$$\end{document}$ kHz, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma } = \left( {58.0 \pm 0.5} \right) \times 10^{3}$$\end{document}$ s^−1^, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T = \left( {24 \pm 1} \right)$$\end{document}$ °C; and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma } = \left( {467 \pm 2} \right)$$\end{document}$ s^−1^, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T = \left( {125.5 \pm 0.5} \right)$$\end{document}$ °C for pressures $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p = 10$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p = 0.1$$\end{document}$ mBar, respectively.

Such fit to the experimental data for a weakly damped oscillator is shown in Fig. [3](#Fig3){ref-type="fig"}b.

### A few nonlinear oscillations {#Sec30}

A nonlinearity in the potential profile influences the NP motion if an NP initial position is placed far from the potential minimum. If the damping is weak, i.e. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma \ll \Omega_{0}$$\end{document}$, and initial oscillator amplitude is sufficiently large, the NP amplitude does not change significantly over a few periods neither due to the damping nor due to the thermal heating (see Fig. [2](#Fig2){ref-type="fig"}f). In this regime, the averaged trajectories or phase space portraits follow very well deterministic nonlinear damped oscillations with negligible stochastic driving term, as described by Eqs. ([2](#Equ2){ref-type=""}--[6](#Equ6){ref-type=""}).

Figure [4](#Fig4){ref-type="fig"}a shows an example of phase portraits obtained for different initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,0} \right)$$\end{document}$ at the short time scale (\< 1 ms) of such the regime. Due to the low damping, trajectories spiral slowly inwards towards the equilibrium point and stay on their orbits. The dashed curves, resembling clock hands, show the NP position in the phase space for different oscillation amplitudes and at given times from the initial condition denoted as the blue dashed straight line. As the oscillation evolves, the dashed curves bend backwards indicating that the outer phase space trajectories orbit with a lower frequency. Figure [4](#Fig4){ref-type="fig"}b confirms the dependence of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$ on the initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right)$$\end{document}$ and shows the expected parabolic profile described by Eq. ([6](#Equ6){ref-type=""}).Figure 4(**a**) Phase portraits of the NP motion reconstructed using the averaged experimental data normalized to standard deviations. The phase space trajectories drawn over 50 µs starting at different initial positions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ = 20, 40, 60, 75, 90, 105, and 120 nm, fixed initial velocity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{x0} = 0$$\end{document}$ and ambient pressure 1 mBar. The dashed curves connect the phase space positions corresponding to the same times $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$t$$\end{document}$ but different initial positions. Normalizing factors $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma_{x}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma_{v}$$\end{document}$ denote $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sqrt {{\text{Var}}\left( x \right)}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sqrt {{\text{Var}}\left( {v_{x} } \right)}$$\end{document}$, respectively. (**b**) Eigenfrequency of a damped Duffing oscillator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$ as a function of the initial NP amplitude $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ for various ambient pressures is obtained from parameter fitting by Eq. ([3](#Equ3){ref-type=""}) to the data similar to Fig. [2](#Fig2){ref-type="fig"}f. The fit by Eq. ([6](#Equ6){ref-type=""}) is plotted by dotted curves.

*Determination of* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma}$$\end{document}$: Fitting Eq. ([9](#Equ9){ref-type=""}) to the variance $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ of trajectory ensembles starting at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,v_{x0} } \right) = \left( {0,0} \right) \pm \left( {2\,{\text{nm}},1\,{\text{mm}}\,{\text{s}}^{{ - {1}}} } \right)$$\end{document}$ we obtained the damping coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ and the saturated-level pre-factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$k_{{\text{B}}} T/\left( {m{\Omega }_{0}^{2} } \right)$$\end{document}$ (see Fig. [3](#Fig3){ref-type="fig"}). Alternatively for higher ambient pressures we obtained the damping coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$, eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and bath temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$ by fitting Eq. ([8](#Equ8){ref-type=""}) to the same dataset.

*Determination of* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega}_{{\text{D}}}$$\end{document}$: Fitting Eq. ([3](#Equ3){ref-type=""}) to the mean position of trajectory ensembles $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ over a few periods ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim 10$$\end{document}$) we determined the oscillation frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}$$\end{document}$ (see Fig. [2](#Fig2){ref-type="fig"}f). The initial amplitudes $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ may reach up to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim 2 \times$$\end{document}$ the standard deviation of particle positions in the trap. For even bigger initial displacements the size of trajectory ensemble becomes very small and the results of analysis are unreliable.

*Determination of* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{0}}$$\end{document}$*and*$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$: Employing Eq. ([5](#Equ5){ref-type=""}) with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ determined above gives the eigenfrequency of a damped Duffing oscillator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$. Fitting parabolic dependence of Eq. ([6](#Equ6){ref-type=""}) to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$ for different initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ gives the eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{0}}$$\end{document}$ and the coefficient of Duffing nonlinearity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ (see Fig. [4](#Fig4){ref-type="fig"}b).

*Determination of* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$: Determination of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ in the first step above gave the pre-factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$k_{{\text{B}}} T/\left( {m{\Omega }_{0}^{2} } \right)$$\end{document}$ or directly the effective temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$. Since $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{0}}$$\end{document}$ is known from the previous step, the pre-factor gives the effective temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$ (knowing the NP diameter 170 nm and its density $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$2000\,{\text{kg/m}}^{3}$$\end{document}$).

Numerical solution of deterministic Duffing equation (DDE) {#Sec33}
----------------------------------------------------------

To check the accuracy of the approximative solutions given by Eqs. ([3](#Equ3){ref-type=""}--[6](#Equ6){ref-type=""}), we solve DDE given by Eq. ([2](#Equ2){ref-type=""}) using the direct numeric integration (Matlab, ODE45 function) under the selected initial conditions. We use this procedure to search for parameters ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ ) giving the best coincidence between the numerical solution of DDE and experimental data corresponding to a few nonlinear oscillations presented in Sect. [1](#Sec1){ref-type="sec"} (see also an example in Fig. [2](#Fig2){ref-type="fig"}f).

*Determination of*$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$*,*$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$*,and*$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$: We fitted numerical solution of Eq. ([2](#Equ2){ref-type=""}) to all averaged trajectories $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ (for various initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,0} \right)$$\end{document}$) at once. The contribution of trajectories was weighted as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}^{ - 2}$$\end{document}$ so that all trajectories contributed to the residual sum with the same weight.

Power spectral density (PSD) {#Sec32}
----------------------------

For comparison with other methods we also used this classical method. PSD does not depend on initial conditions, therefore, it is not proper to characterize the transient dynamics. It can be used only to observe similarities and difference between the oscillator parameters at the short-time and long-time scale. Furthermore, this method does not allow to determine the coefficient of nonlinearity because only the harmonic potential is assumed to get Eq. ([1](#Equ1){ref-type=""}).

*Determination of* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$*and* $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega}_{0}$$\end{document}$: Fitting Eq. ([1](#Equ1){ref-type=""}) to experimental $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${P}_{xx}$$\end{document}$ gives $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$.

*Determination of T* :  In the case that the calibration constant of the position detector is determined by other means we can use the velocity PSD $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${P}_{vv}$$\end{document}$, see Eq. ([11](#Equ11){ref-type=""}) and Methods, in order to determine the spectral effective temperature. In such a case the spectral temperature can be expressed as^[@CR29]^$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${T}_{\text{SP}}=\frac{m}{\pi {k}_{\text{B}}}{\int }_{0}^{\infty }{P}_{vv}\left(\omega \right){\text{d}}\omega .$$\end{document}$$

For this approach the limiting factor is the determination of high frequency shot noise, see Methods, or the actual limits of the integral achievable from the experiment.

Numerical solution of stochastic Duffing equation (SDE) {#Sec36}
-------------------------------------------------------

In order to verify the described methods used for data processing and determination of parameters of the Duffing oscillator, we simulate the random particle motion in 1D described by the SDE given by Eq. ([7](#Equ7){ref-type=""}) based on the Verlet scheme^[@CR58]^. This approach is also generalized to 3D and corrected for influences of the other axes, as we described in more details in [Supplementary Information](#MOESM1){ref-type="media"}.

We simulated 200 trajectories of an NP with random initial conditions with a time step corresponding to the experimental sampling frequency (total duration of a single trajectory was 1 s). The data were processed in the same way as experimental data and the obtained parameters were compared with the input ones.

Results and discussion {#Sec6}
======================

We have acquired data at several levels of ambient pressure, processed in a way described in the previous section for different initial conditions and determined oscillator's parameters using methods DOA, DDE and PSD. Further, we obtained trajectories using SDE by means of computer simulations for parameters determined from the experiment and processed in the same way as the measured trajectories, see also [Supplementary Information](#MOESM1){ref-type="media"}. Figure [5](#Fig5){ref-type="fig"} compares the obtained parameters for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ (left) and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ (right) axes. Other possible methods how to determine parameters of the Duffing oscillators are summarized in Methods. Simulations for huge set of input parameters are analyzed in [Supplementary Information](#MOESM1){ref-type="media"} and verify applicability and possible bias of each method.Figure 5Comparison of pressure dependence of parameters of the Duffing oscillator represented by the optically levitated particle in a nonlinear optical potential. Left and right columns correspond to an NP oscillating along the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ coordinate axis, respectively. (row 1) Eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$, (row 2) the parameter of Duffing nonlinearity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ , (row 3) the damping factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$, (row 4) effective temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$, (all panels) full curves: DOA (blue), DDE (red), PSD (orange). Circles $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\circ$$\end{document}$ and crosses $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\times$$\end{document}$ correspond to 1D and 3D simulations from SDE analysed by different methods, where we used parameters obtained by the analysis of experimental data with the method marked bold in the legend, for more information see [Supplementary Information](#MOESM1){ref-type="media"}. Colour of each symbol corresponds to the method of analysis depicted in the legend. All errorbars correspond to the 95% confidence intervals of the given quantity and are either directly based on the results of the nonlinear least square fitting or the results of the fits are combined by the error propagation law that gives the depicted intervals, respectively.

Eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${{\varvec{\Omega}}}_{0}$$\end{document}$ {#Sec7}
--------------------------------------------------------------------------

$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ obtained by DOA and DDE methods are about 1 kHz higher comparing to the PSD method. This is caused by the fact that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ for the Duffing oscillator corresponds to the extrapolated oscillation frequency with zero amplitude $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ which is the highest frequency, see Eq. ([6](#Equ6){ref-type=""}). In contrast, the PSD method averages oscillation frequencies of all amplitudes.

Only for the highest pressure (10 mBar) values of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ obtained by all methods are in agreement. In this case the dominant effect in the PSD method is the peak broadening by the damping and the resonant peak is not influenced by the nonlinear behaviour at all. The frequency drift through different pressures (same in both axes) is caused by the fluctuation of the total optical power in the trapping laser beam.

The analysis of the 1D simulated data follows the same trends as in the case of experimental data. In case of DDE method a weak bias $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim$$\end{document}$ 0.3 % towards higher frequencies appears. On the contrary the analysis of 3D simulations shows that values of eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ obtained by all methods are shifted by a similar value towards lower frequencies, involving corrections described in [Supplementary Information](#MOESM1){ref-type="media"}. Similar results were also confirmed by the analysis of SDE simulated data with various input conditions (see [Supplementary Information](#MOESM1){ref-type="media"}). Therefore, we are persuaded the DOA and DDE methods provide valid $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ for weakly nonlinear systems of optically levitated particles.

The coefficient of Duffing nonlinearity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\xi}}$$\end{document}$ {#Sec8}
----------------------------------------------------------------------

DDE method gives slightly higher values of coefficient of nonlinearity than DOA with the mean value and standard error in the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ axes equal to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi_{x} = \left( {2.7 \pm 0.2} \right)\,{\upmu}{\text{m}}^{ - 2}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi_{y} = \left( {2.1 \pm 0.2} \right)\,{\upmu}{\text{m}}^{ - 2}$$\end{document}$, respectively. Discrepancy between both methods increases for ambient pressure above 2 mBar where values from DOA method drop down significantly. At these pressures the oscillations are strongly damped and the eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$ can not be determined with sufficient precision (see the yellow curve in Fig. [4](#Fig4){ref-type="fig"}b) where the fit by Eq. ([6](#Equ6){ref-type=""}) fails to give reliable results.

If the DOA and DDE methods were applied on the simulated data (both 1D and 3D), the DDE method returns values corresponding to the input values of the simulations. The DOA method gives the same values as DDE but deviates in the same way as experimental data for higher pressures.

The values obtained with DOA and DDE can be compared with a theoretical estimate of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ for the Gaussian beam with the beam waist $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$w_{0}$$\end{document}$ under Rayleigh approximation^[@CR18],\ [@CR44]^ using $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi = 2/w_{0}^{2}$$\end{document}$ that gives $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi = 2.76\,{\upmu}{\text{m}}^{-2}$$\end{document}$. The beam waist in the focal plane $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$w_{0} = 0.85\,{\upmu}{\text{m}}$$\end{document}$ was determined from Zemax software package in accordance to the aberrations of the focusing lens at the trapping wavelength but ignoring polarization effects in such non-paraxial beam. Thus the obtained beam waist is the same for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ axes and approximately two times wider comparing to the direct utilization of numerical aperture of ideal focusing optics. Moreover, the particle diameter of 170 nm is slightly bigger than Rayleigh approximation allows, therefore the force profiles deviate from the expected simple gradient of optical intensity dependence which may also slightly influence the value of the coefficient of nonlinearity. Consequently the value of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ predicted from the Gaussian beam waist corresponds quite well with the values determined from the experimental trajectories.

The damping coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${{\varvec{\Gamma}}}$$\end{document}$ {#Sec9}
----------------------------------------------------------------------

Values of medium damping $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ obtained with DOA, DDE and PSD for different pressures from the experimental data are also compared with the theoretical model^[@CR47]^, where we assumed nitrogen molecule diameter 0.372 nm and viscosity 17.7 µPa s. Only the DOA method gives a very good coincidence with the theoretical model in the whole range of investigated pressures. DDE and PSD methods follow well the theory for pressures above 0.5 mBar however for lower pressures $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ values obtained by those two methods differ from the theoretical predictions by one order or even more. Since the peak in experimental PSD broadens and gets asymmetric at lower pressures due to the nonlinearity in the system (see Fig. [2](#Fig2){ref-type="fig"}d,e), its fit by a function derived for an ideal harmonic oscillator results in a larger $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$. In the case of 1D SDE simulated data the DDE method follows well the theoretical predictions (see red circles in row 3 of Fig. [5](#Fig5){ref-type="fig"}) while the analysis of 3D simulated trajectories by the DDE method (red crosses) reveals the same trend as the analysis of experimental data. On the contrary the DOA analysis of variance increase in the experimental data as well as in 1D or 3D SDE simulated trajectories leads to the almost perfect coincidence with the values predicted by the theoretical model. Thus we conclude that the increased damping obtained by DDE method is caused by the crosstalks between coordinate axes (especially between lateral and longitudinal ones).

Effective temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{T}}$$\end{document}$ {#Sec10}
---------------------------------------------------------------

The last parameter describing dynamics of levitated NP in a Duffing type potential is the effective temperature *T*. We compared the temperature obtained by the position variance in DOA method (referred to as transient temperature *T*~TR~) and by the integration of the area under the oscillation peak in velocity PSD (PSD*vv*), referred to as the spectral temperature *T*~SP~^[@CR29]^. We note we fixed the value of the calibration constant obtained at pressures higher than 0.4 mBar, as we explain in Methods. Both methods provide us with comparable results due to the fact that the energy of particle motion contained in PSD*vv* is independent of the nonlinear effects. We see that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$ is constant for pressures above 0.5 mBar and corresponds to the ambient temperature. For lower pressures the effective temperature firstly slowly increases which is followed by the steep increase for even lower pressures up to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sim$$\end{document}$ 500 K. This behaviour corresponds to the temperature increase observed in^[@CR57]^ and was explained by a decrease of the heat dissipation by conduction at low pressures. Unfortunately, our system does not allow us to reach even lower pressures ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$< 10^{ - 2}$$\end{document}$ mBar) where one would expect the saturation of temperature since all absorbed heat would be dissipated only by the radiation independent of ambient pressure. The increase in the temperature is evident from the saturation level of the position variance shown in Fig. [3](#Fig3){ref-type="fig"}. For a higher pressure of 10 mBar (Fig. [3](#Fig3){ref-type="fig"}a) the saturation level is lower compared to the variance at pressure of 0.1 mBar shown in Fig. [3](#Fig3){ref-type="fig"}b. The temperature obtained by the analysis of the simulated trajectories corresponds well to the experimental values that were used as simulation inputs.

Conclusions {#Sec11}
===========

Parameters of a nonlinear oscillator are usually estimated from steady states but the oscillator parameters found during the transient dynamics can be significantly different. The ability to thoroughly characterize the nonlinear oscillator on the short time scale is crucial for experimental testing of transient dynamics of levitating particles used in nanosensing and thermodynamical engines. The parameters are predicted even before the heating rate considerably affects the experiment which is desirable e.g. for quantum experiments with a prepared initial state. We introduced new transient methods to characterize parameters of an optically levitated NP behaving as a weakly nonlinear Duffing oscillator. The novel approach is based on post-processing of the acquired experimental data in such a way that for each selected initial state in the phase space, an ensemble of short evolutions is collected. From mean position and momentum and their variances, a Duffing oscillator can be fully characterized through its eigenfrequency, damping, coefficient of nonlinearity or temperature. The described methodology can be used also for very low temperatures down to quantum mechanical motion.

We developed two methods, i.e. Duffing oscillator approximation (DOA) and deterministic Duffing equation (DDE), and we applied them on experimental data and on datasets obtained from stochastic Duffing equation (SDE) for a wider range of experimentally accessible parameters. The comparisons between the methods and with the widely used steady-state method of power spectral density (PSD) assuming only an ideal harmonic oscillator are revealed in Fig. [5](#Fig5){ref-type="fig"} and discussed in detail in the previous section. The comparison with SDE verified the reliability of parameters extracted by the methods for one-dimensional and three-dimensional motion of the NP. Focusing only on the parametric region corresponding to the experimental parameters we conclude that both DOA and DDE determine eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ with a precision better than 1 % and nonlinearity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$ with a precision better than 14 % for pressures lower than 1 mBar. DOA gives damping factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma$$\end{document}$ with a precision better than 1 % for all considered pressures, nonlinearities and temperatures. In contrast velocity PSD method gives temperature estimate within 1 % while DOA within 14 % for pressures between 0.01 and 10 mBar.

Moreover, the trajectories simulated by the SDE could be in principle used directly to obtain the parameters of the experimental system together with the concept of machine learning^[@CR59]^. Here the artificial neural network (ANN) would be trained using the simulated trajectories or some features acquired of such trajectories and later the ANN would predict parameters of the experimental system based on the measured data. Yet this approach is extremely time consuming and computationally demanding and contradicts our approach in this paper to develop a simple and fast method to characterize oscillator parameters and optical trap properties. In conclusion, the presented transient methods can reliably characterize all important parameters describing the Duffing oscillator especially for lower pressures (under 1 mBar), where the nonlinearity plays a significant role and a peak profile in PSD starts to deviate from the ideal Lorentzian shape.

Methods {#Sec12}
=======

Calibration of quadrant photodetector {#Sec13}
-------------------------------------

For the position calibration of the quadrant detector we used a method based on an integrating of the velocity PSD $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{vv}$$\end{document}$^[@CR29]^ which was calculated directly from the position PSD $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}$$\end{document}$ as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{vv} = \left( {P_{xx} - P_{xx}^{\infty } } \right)\omega^{2} .$$\end{document}$$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}^{\infty }$$\end{document}$ is the average level of the white (shot) noise at high frequencies in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}$$\end{document}$. The calibration constant is then calculated as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}} = \sqrt {\frac{{\pi k_{{\text{B}}} T}}{{m\mathop \smallint \nolimits_{0}^{\infty } P_{vv} {\text{d}}\omega }}} ,$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T = 295$$\end{document}$ K is the room temperature. To determine the noise level $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}^{\infty }$$\end{document}$ we analyzed $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}$$\end{document}$ for frequencies $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\omega /2\pi > 0.75f_{{{\text{Nyq}}}}$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$f_{{{\text{Nyq}}}} = f_{{{\text{sample}}}} /2$$\end{document}$ is the Nyquist frequency and the sampling frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$f_{{{\text{sample}}}} = 1.78$$\end{document}$ MHz. In this range the PSD was firstly smoothed by a moving average filter and then the result was fitted by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx} \left( f \right) = Af^{ - B} + C,$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$B$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C$$\end{document}$ are fitted parameters. If $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$B > 0$$\end{document}$ we set the noise level as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}^{\infty } \equiv C$$\end{document}$, otherwise we set the noise level to the mean value of the high frequency part ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\omega /2\pi >$$\end{document}$ 800 kHz) of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{xx}$$\end{document}$.

The recovered calibration factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}}$$\end{document}$ forms a constant level plateau for pressures above 0.4 mBar (see Fig. [6](#Fig6){ref-type="fig"}) which is consistent with the previously published results^[@CR29]^. For lower pressures below 0.4 mBar the calibration constant $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}}$$\end{document}$ starts to drop. This can be attributed to the change of the NP temperature leading to a higher temperature of the NP center of mass motion than the room temperature used for calculation of the red curves in Fig. [6](#Fig6){ref-type="fig"}. Therefore, we applied the value of calibration constant equal to mean value of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}}$$\end{document}$ in the pressure range from 0.4 mBar up to 10 mBar to all studied pressures.Figure 6Pressure dependence of calibration constant $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$C_{{{\text{V}} \to {\text{m}}}}$$\end{document}$ calculated from the PSD $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$P_{vv}$$\end{document}$ (red) and a value of calibration constant that was actually used for the data processing (blue) for the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x$$\end{document}$ (left) and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y$$\end{document}$ (right) axes.

List of all possible methods for determination of parameters of the Duffing oscillator {#Sec14}
--------------------------------------------------------------------------------------

In the following section we present an overview of several alternative ways that can be used for determination of parameters describing a Duffing oscillator. The mentioned methods are explained in more details in the main text.

### Determination of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ {#Sec15}

Fitting Eq. ([9](#Equ9){ref-type=""}) to the variance of trajectory ensembles $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{ Var}}\left( x \right)$$\end{document}$ the damping coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ and the saturated-level pre-factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$k_{{\text{B}}} T/\left( {m{\Omega }_{0}^{2} } \right)$$\end{document}$ are obtained.Fitting Eq. ([8](#Equ8){ref-type=""}) to the variance of trajectory ensembles $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text{Var}}\left( x \right)$$\end{document}$ for higher ambient pressure, the damping coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$, eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and effective temperature $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$ are obtained.Fitting Eq. ([3](#Equ3){ref-type=""}) to the mean position of trajectory ensembles $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ over a few periods, medium damping $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ and the oscillation frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}$$\end{document}$ are determined.Fitting Eq. ([1](#Equ1){ref-type=""}) to the position PSD gives $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ assuming an ideal harmonic oscillator.Fitting Eq. ([11](#Equ11){ref-type=""}) to the velocity PSD*vv* gives $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ assuming an ideal harmonic oscillator.Fitting numerical solution of Eq. ([2](#Equ2){ref-type=""}) to all averaged trajectories $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x\left( t \right)$$\end{document}$ (for various initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\left( {x_{0} ,0} \right)$$\end{document}$) at once gives values of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi$$\end{document}$.

### Determination of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}$$\end{document}$ {#Sec16}

7.Step (3) gives also the oscillation frequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}.$$\end{document}$

### Determination of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{0}}}$$\end{document}$ {#Sec17}

8.Employing Eq. ([5](#Equ5){ref-type=""}) with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{D}}}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Gamma }$$\end{document}$ determined above gives the eigenfrequency of a damped Duffing oscillator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$. Fitting parabolic dependence of Eq. ([6](#Equ6){ref-type=""}) to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{{\text{H}}}$$\end{document}$ for different initial conditions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x_{0}$$\end{document}$ gives the eigenfrequency $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and the coefficient of Duffing nonlinearity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi .$$\end{document}$9.Step (2) gives also $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$.10.Step (4) gives also $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$.11.Step (5) gives also $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$.12.Step (6) gives also $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$.13.In the case of three-dimensional nanoparticle motion, one should use the frequency correction to get the eigenfrequency comparable to one-dimensional case, see [Supplementary Information](#MOESM1){ref-type="media"}.

### Determination of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\upxi$$\end{document}$ {#Sec18}

14.Step (8) gives also coefficient of Duffing nonlinearity.15.Step (6) gives also.

### Determination of T {#Sec19}

16.Step (1) gives the pre-factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${k}_{\text{B}}T/\left(m{\Omega }_{0}^{2}\right)$$\end{document}$. With the known $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\Omega }_{0}$$\end{document}$ and oscillator mass, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T$$\end{document}$ can be calculated.17.In the case that the position detector is already calibrated, the velocity PSD can be used to determine the spectral temperature, employing Eq. ([10](#Equ10){ref-type=""}).

Supplementary information
=========================

 {#Sec20}

Supplementary Information

**Publisher\'s note**

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information
=========================

is available for this paper at 10.1038/s41598-020-70908-z.

JF, MŠ, OB, RF, PZ acknowledge support from the Czech Science Foundation (contract 19-17765S). RF also acknowledges the funding from European Union's Horizon 2020 (2014-2020) research and innovation framework programme under Grant Agreement No 731473 (Project 8C18003 TheBlinQC). Project TheBlinQC has received funding from the QuantERA ERA-NET Cofund in Quantum Technologies implemented within the European Union's Horizon 2020 Programme. PJ a FH acknowledge support from the Czech Academy of Sciences.

J.F., P.J. and F.H. performed the experiments, M.Š., R.F. and P.Z. developed the method, M.Š. performed the theoretical simulations, J.F., M.Š., O.B. and P.Z. analysed the experimental data. All authors contributed to the preparation of the manuscript.

The data that support the plots within this paper and other findings of this study are available from the corresponding author upon reasonable request.

The authors declare no competing interests.
