hnn
hnn copied to clipboard
Spectral timescale is not computed before 50 ms
Spectral data is not computed near zero for edge-effects, but it's not also chopped for edge effects at the end of the simulation. If the scale is manually adjusted to display early data, there is nothing to display.
Copy pasting what I wrote in the email:
The MNE spectrograms is used in an HNN-core example: https://jonescompneurolab.github.io/hnn-core/auto_examples/plot_simulate_gamma.html#sphx-glr-auto-examples-plot-simulate-gamma-py. Here the time axis line up. Perhaps we can look at the MNE source code and check what's going on? There is something off with the alpha example though. There is a big jump in the beginning. That could explain the edge effects. You don't see it in HNN because the x axis limits have been changed ...
Wanted to update this issue post integration #232. There was a bug where input histograms weren't clipped before 50ms, but the dipole and spec plots were. This is fixed so that whenever a spectrogram is shown, all plots have consistent x-axes.
Leaving this open because always applying a 50ms trimming is arbitrary and could be improved.