Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Baseline selection from the panel #9

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

Edouard2laire
Copy link
Collaborator

@Edouard2laire Edouard2laire commented Oct 5, 2023

If multiple baselines are found in the brainstorm database, ask the user to select the baseline instead of selecting the first file, which would often be a wrong choice.

Screenshot 2023-10-05 at 18 29 44

To avoid showing too many baseline, only show the baseline of the subject

@Edouard2laire Edouard2laire self-assigned this Oct 6, 2023
@Edouard2laire Edouard2laire merged commit c5cecd6 into multifunkim:master Oct 6, 2023
@Edouard2laire Edouard2laire deleted the baseline_selection branch October 6, 2023 14:36
Edouard2laire added a commit that referenced this pull request Oct 6, 2023
Edouard2laire added a commit that referenced this pull request Mar 12, 2025
* improve MNE solver

* use scale 3 for nirs noise covariance

* disable noise covariance in MNE for now

* keep all the power for nirs

* Par-for optimization (#8)

* don't display progress bar for standalone

* First implementation

* clean code

* aestetic changes

* more aesthetic change

* add spaces

* MNE kernel (#9)

* Improve parameter choice for l-curve

* Improve kernel estimation using SVD trick to compute the norm

* small changes (#10)

* Improve parameter choice for l-curve

* Improve kernel estimation using SVD trick to compute the norm

* better handle figures

* Remove be_main_wmem

* don't transpose the inversion matrix

* oups

* Move the normalization outside be_launch_mem

* Move the conversion to time-series outside be_launch_mem

* minor changes

* clean up output

* more clean-up on be_slice_obj

* Merge pull request #11 from Edouard2laire/be_free_energy

Optimize be_free_energy and be_mem_struct

* save sigma_s under obj rather than option

* pre-compute G * active_var

* some cleaning

* Even more optim

* last changes

* fix call to be_fusion_of_modalities

* cleam up MNE code

* Save wMEM results as factor decomposition

* fix format of obj.data

* [bugfix] Fix the covariance matrix along the cortical surface (#17)

* Attempt to fix the covariance matrix

* refactor changes

* remove previous trick to be safer

* update optimization function (#16)

* attempt to use hessian to speed up calculation

* use hessian

* Remove Hessian for now

* [refactor] call be_fusion_of_modality in MNE

* [be_fusion_of_modality] also create the normalized data/gain

* Some refactor on MNE

* continuation

* remove progress bar

* several bugfixes

* put back quasi-netwon for now

trust-region very slow for MEG

* Improve code performance (#18)

* pre-compute some matrix

* Improve call to be_dwsynthesis

* clean code

* Add option 7 for alpha

* Add option to use noise covariance in MNE. (default to false)

* Refactor memstruct (#19)

* more refactor on memstruct

* more refactor

* more refactor

* Fix memory issue for EEG/MEG

* temporary move new implementation to be_free_energy2

* start support for custom mean / inactive variance

* add unsaved change

* remove unnecessary sum

* minor cosmetic change

* bug fix and clean code

* also reduce cMEM file size if only a part of the signal is localized

* Put back for loop (so much faster for nirs)

* Add datatype to pipeline options

* wavvelet_inverse_projection: use sparse matrix to avoid memory issue

* remove extra message from be_slice_obj

* bugfix when using inactive variance

* Add be_pagemtimes for backward compatibility

* officially replace be_free_energy

* Remove be_launch_mem2

* Apply comments

* FIx QR decomposition for matlab < 2022a

R was not a triangular matrix...

* be_pipelineoption; fix typo

* improve normalization (adpatative vs fixe)

* Fix figure display (reuse figure)

* Improve entropy drop display for cMEM

* Add a flag controling the output form (full or factor)

(python only support full)

* Cleanup option before saving

* small refactor

* fix rMEM code (part I / II) (#20)

* fix rMEM

* some cleaning

* WIP on rMEM

* Add new option in the control panel

* minor update

* Revert "fix rMEM code (part I / II) (#20)"

This reverts commit b040ed1.

* update version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant