I'm used to the astropy interface for Lomb-Scargle periodograms where it is possible to evaluate the value of the periodogram on an arbitrary, potentially nonuniform, mesh of frequencies. Would such a feature be feasible to implement here?
One use case that has come up for me recently: oscillatory features in numerically integrated ODEs (e.g. if you were to simulate a mass-spring system) yield simulated frequencies $\omega_\text{sim}$ that are nonlinearly related to the timestep $\Delta t$ and the "true" frequencies $\omega_0$; e.g. with the leapfrog integration scheme, we have $$\sin \left(\omega_\text{sim} \Delta t \over 2\right) = {\omega_0 \Delta t \over 2}.$$ Ideally, it would be desirable to compute the Lomb-Scargle periodogram on a uniform grid of $\omega_0$, which would mean a nonuniform grid of $\omega_\text{sim}$, for the purposes of analysing simulation outputs.
I'm used to the astropy interface for Lomb-Scargle periodograms where it is possible to evaluate the value of the periodogram on an arbitrary, potentially nonuniform, mesh of frequencies. Would such a feature be feasible to implement here?
One use case that has come up for me recently: oscillatory features in numerically integrated ODEs (e.g. if you were to simulate a mass-spring system) yield simulated frequencies$\omega_\text{sim}$ that are nonlinearly related to the timestep $\Delta t$ and the "true" frequencies $\omega_0$ ; e.g. with the leapfrog integration scheme, we have $$\sin \left(\omega_\text{sim} \Delta t \over 2\right) = {\omega_0 \Delta t \over 2}.$$ Ideally, it would be desirable to compute the Lomb-Scargle periodogram on a uniform grid of $\omega_0$ , which would mean a nonuniform grid of $\omega_\text{sim}$ , for the purposes of analysing simulation outputs.