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

Reduce memory usage of GLM analysis #191

Open
rob-luke opened this issue Oct 16, 2020 · 2 comments
Open

Reduce memory usage of GLM analysis #191

rob-luke opened this issue Oct 16, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed optimisation

Comments

@rob-luke
Copy link
Member

Running the GLM analysis is too memory hungry. This forces me to downsample more than I would like.

Discussed already in #64 nilearn/nilearn#2421 #188 #186

This is also a handy tool to help investigate this https://mne.tools/mne-nirs/auto_examples/sg_execution_times.html

@larsoner
Copy link
Member

See also mne-tools/mne-python#8379, but also just mprof run ...; mprof plot locally can help fix things and iterate. And also memory_profiler with decorators if you want to dig into specific functions, and/or mne.utils.object_size for NumPy+builtin python type sizing for memory usage.

@rob-luke rob-luke added enhancement New feature or request optimisation help wanted Extra attention is needed labels Jun 9, 2021
@G21R
Copy link

G21R commented Jul 13, 2022

Please excuse me, I'm a beginner. I want to understand how I can apply baseline adjustment in GLM group analysis. I have seen that many parameters are used in data processing (detrending,baseline, etc) tell me how to apply it in group analysis. After all, the main parameter that is taken into account in the analysis based on GLM is the hemoglobin value (raw_haemo) how to still apply baseline for group analysis of GLM. Please forgive me for my English. And please help me please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed optimisation
Projects
None yet
Development

No branches or pull requests

3 participants