Main content

  1. Trevor Hastie
  2. Michael Lim

Date created: | Last Updated:


Creating DOI. Please wait...

Create DOI

Category: Project

Description: Running the code requires downloading both the data and the code. These are downloaded separately using the OSF interface. First, under files, select the code component then download. Then "" and download that as well. Extract the into a directory named "datafiles" containing the subdirectories: "anatomy", "eegdata", "forwardSolutions". If the datafiles directory is correctly placed in the same folder as mrLASSO.m it will be found automatically. If not the code will ask you to select the directory. From MATLAB run: mrLASSO The code will ask several questions. First whether you want to compute the minimum norm solution or use the precomputed solution provided. The cross participant minimum-norm solution takes a lengthy amount of time (~20 minutes at last test). Therefore, we've provided a precumputed solution along with the data files. After generating several data figures the next thing that will be asked is whether or not to plot topographies. If you choose to plot topographies you will be asked if you want to plot a single participant or all participants. As each topography is plotted on a high-resolution scalp mesh they can be intensive to render. Plotting a single participant will allow interacting in 3d. Plotting all participants will render each participant, take a snapshot, then create a view of all participants together as in Figure 10.

License: GNU General Public License (GPL) 2.0


Loading files...


Recent Activity

Loading logs...

OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.