- MNE version: 1.3.1
- operating system: 13.2.1 (22D68) (Ventura)
Hi,
We are trying to coregister our MEG data to the individual MRI.
We already have a system that gives us the HPI coils position in surface RAS MRI coordinates (3D scanner for the face with HPI coils visible fitted to the MRI skin surface) so we do not need to calculate the trans.fif.
Before, we were using the function read_dig_montage that way:
dig_montage = read_dig_montage(hsp=None, hpi=hpi, elp=elp,
point_names=point_names, unit='mm',
transform=False,
dev_head_t=True)
epochs.set_montage(dig_montage)
with hpi being a 3-by-3 array with the coordinates of the HPI in the MEG space and elp being a 3-by-3 array with the coordinates of the HPI in the RAS MRI space.
I am not sure what function I could use to do the same, since read_dig_montage() has been deprecated.
Thank you very much for your help.
Coumarane