In this tutorial, it seems I have to have a “-trans.fif” file to be able to do the computations for source-localized data. However, I cannot find such a file in my freesurfer results. Shall this file be obtained through MRI? I also just have “.con” files as my MEG files.
the “trans.fif”-file contains a matrix for the transformation between the the “head”-coordinate-frame from your measurement (defined by the digitization of the anatomical landmarks of the participant before the measurement) and the “MRI”-coordinate-frame of the 3D-Brain from the Freesurfer-Reconstruction (your MRI-Directory you showed).
To acquire the “trans.fif”-file you need to align both coordinate-frames manually which is called coregistration. MNE-Python provides a GUI for that. Here, you can find a tutorial about the coordinate-frames and the usage of the Coregistration-GUI.
Regarding your other question about your “.con”-MEG-files:
You only need mne.read_trans() to read the “.trans”-file you acquired using the Coregistration-GUI from above. The “.con”-files are your Raw-Data and you can read them using mne.io.read_raw_kit().
If my understanding is correct, the “-trans.fif” file is only based on MRI data. Therefore, I need to calculate it one time even if I have multiple MEG session data.
Is that right?