BUG: Extreme topomap valuse still too strong
See original GitHub issue@agramfort pointed out that the examples/time_frequency/plot_source_power_spectrum_opm.py
example had edges that are too strong:
Doing border='mean'
plus extrapolate='local'
gives:
I wonder if:
- The default extrapolation mode of
box
should actually add the local points, then also add the four points in the corners. It might be a good compromise. border='mean'
should be the default
If we did these two things, this is what the new default would look like (hacked together the box change for now and set border='mean'
):
I know we’ve had some conversations about (2) at least, but I’d also like (1) because it might combine the local focality of 'local'
with the smoothness (bounded by matplotlib mask instead of interpolation grid extent) of 'box'
. Thoughts @mmagnuski ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
How to interpret corneal topography: 5 clinical uses
1) Corneal topography is a non-invasive imaging technique for mapping the surface curvature and shape of the anterior corneal surface. How it's done:...
Read more >Best paper maps
However, the USGS maps are very large and difficult to print. MyTopo offers large, waterproof, custom topographic maps of any area you want....
Read more >I found an error on a map. How can I report it and when will ...
Unless there is a serious error, US Topo maps will not be reissued. The corrected data will be included when the map is...
Read more >Interpreting Contour Maps | METEO 3: Introductory Meteorology
Meteorologists regularly use contour maps to see how weather variables (temperature or pressure, for example) change over large areas, but they also use...
Read more >9. Topographical Plans And Maps
9.0 Introduction. What are topographical plans and maps? 1. Topographical plans and maps are drawings which show the main physical features on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Excellent, it was pretty easy to implement and test because someone already wrote nice convex hull / local code 😃
Yes but having the top look bad is not great, and masking differently for one part (convex hull at the top) and another (circle at the bottom) is also not great.
I just finished an implementation of the local at 1x + patch at 0.5x already looks pretty good and smooth. I’d prefer it to some combination of extra-circle-plus-convex-hull stuff:
If the slight angularity at the bottom really bothers people then I think we can probably fix it later, but it really does not bother me here. Basically if you use local extrapolation, I think you should only ever see data close to the channels, and we should do something to smooth the jagged edges. This seems like it would make a pretty nice default, as it:
For EEG people that want data extrapolated and need circles, I don’t think it’s too much to have them set
extrapolate='box'
, and then we can make the skirt options do something again separately.