You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current knee model is slightly incorrect translation of an exponentially decaying ACF, the difference is visually subtle but lies in the the power at the nyquist, e.g. the ACF(1) coeff. Below is a picture of a spectrum that matches what is simulated in OU processes. The power at the nyquist slightly tapers off but the current knee model assumes it should be linearly decreasing.
Below is the model we could be add. It's described in this paper
Where $w$ is the AR(1) or ACF(1) coefficient, which directly translates to the knee frequency, $f_k$. This math is also nice because it lets us compute the knee directly from the AR(1), which could be used as the guess knee param when oscillations aren't present:
In practice, this won't change much unless fitting up to the nyquist. It could be useful to help validate sims since sim_knee in neurodsp doesn't produce this updated PSD, and the mapping between knee freq and ACF(1) doesn't hold like it does in other timescale sims.
The text was updated successfully, but these errors were encountered:
I'm going to close this to reduce noise. This falls into the category of having an api that can support custom curve functions and guess procedures. I just wanted to have this as a note to my future self for something to try.
The current knee model is slightly incorrect translation of an exponentially decaying ACF, the difference is visually subtle but lies in the the power at the nyquist, e.g. the ACF(1) coeff. Below is a picture of a spectrum that matches what is simulated in OU processes. The power at the nyquist slightly tapers off but the current knee model assumes it should be linearly decreasing.
Below is the model we could be add. It's described in this paper
Where$w$ is the AR(1) or ACF(1) coefficient, which directly translates to the knee frequency, $f_k$ . This math is also nice because it lets us compute the knee directly from the AR(1), which could be used as the guess knee param when oscillations aren't present:
This is the full simulation/model/implementation:
In practice, this won't change much unless fitting up to the nyquist. It could be useful to help validate sims since sim_knee in neurodsp doesn't produce this updated PSD, and the mapping between knee freq and ACF(1) doesn't hold like it does in other timescale sims.
The text was updated successfully, but these errors were encountered: