jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
53 stars 52 forks source link

[MRG] CSD plot smoothing and scaling #815

Closed katduecker closed 1 month ago

katduecker commented 1 month ago

This PR closes #68. I have added an option to smoothen the CSD plot using spline interpolation, to set the range of the colormap using vmin and vmax, and to set the color of the sink (and source).

If vmin and vmax are None, the colormap is set automatically based on the maximum absolute value of CSD, such that green is zero.

ntolley commented 1 month ago

Can you add [MRG] to the title? It's helpful to signal to us that this is ready to be reviewed

katduecker commented 1 month ago

@ntolley @gtdang is the ubuntu check due to something I have done?