How to save beta maps from the first level GLM?

I am trying to use beta maps for second-level GLM analysis.
However, I cannot find a way to save the beta maps from the first-level GLM function. Does anyone know how to save the beta map as nii file?

I also found that nilearn default setting of the 2nd level ‘effect_size’ map. Is ‘effect size’ map beta map?

Yes - see this code snippet in second-level analysis:

1 Like

Just to +1 @HaoTing_Wang 's answer, you can find this idea in the narrative documentation here :slightly_smiling_face:

1 Like