How to compute the source space with .mat to the format Sourcespace in MNE?

my code is :

 import mne import numpy as np   from pymatreader import read_mat import mne head_path="H:\\hcp\\preprocessed_motor\\104012_MEG_Motort_preproc\\104012_MEG_anatomy_headmodel.mat" bem= read_mat(head_path)  fname_src="H:\\hcp\\preprocessed_motor\\104012_MEG_Motort_preproc\\104012_MEG_anatomy_sourcemodel_2d.mat" src=read_mat(fname_src) print()  info=mne.io.read_info('./hcp_fif2.fif')   fwd_params=mne.make_forward_solution(info,trans=None,src=src,bem=bem,meg=True,eeg=False,mindist=5.0) fwd=mne.forward.make_forward_solution(**fwd_params) mne.write_forward_solution('hcp_fwd_solution_personality.fif',fwd,overwrite=True)