Error in storing the frequency axis due to its sampling #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I use geomspace (from numpy) to generate log-spaced frequency values to generate my transfer functions. But then, I store this frequency sampling information using df and f0 in the hdf5 file, as if the frequencies were linearly sampled (using mean of diff to compute a "df" which is meaningless).
This is a big issue and can explain the difference between Matlab and Python. I have to check this quickly.
I think 3.2 is the best (quite easy and keep the storage low AND the values log-spaced). For tomorrow, I’ll check locally with linspace (in finesse-simulation-O4) before working on this, I have to go fast for LVK
Data converted to matlab file didn’t have this issue because it didn’t use hdf5 at all, (frequencies were stored like option 4. in the .mat) so no issue with the fsc I computed and presented at virgo week. I have to check how the interpolation was done to be sure it did accept log-spaced frequencies
Je suis vraiment idiot