Updating SEEG coordinates

I wanted to know how the SEEG contacts coordinates updating after changing their positions according to the two points of entry and tip in SCS and MNI ? Thank you.

Once you have set the Tip and Skull entry points, the contacts will be automatically placed according the parameters of the electrode model.

As this first approximation is rigid and only depends on the electrode model geometry, it is possible to edit the position for each individual contact. See the tutorial iEEG contact localization

https://neuroimage.usc.edu/brainstorm/Tutorials/IeegContactLocalization

Figure 1. In this example, the positions of the first two contacts 1 and 2 have been updated (note that the remaining contacts still follow a rect line)

Figure 2. The position for all contacts for the same electrode have been updated:

Thank you so much for your response. I want to update each contacts according to different tip and skull entry. I was wondering if I could access to the code for updating each contacts and positions.

Hello, I just want to know how can I correct the SEEG electrode as an object. according to what they wrote on the website "SEEG depth electrodes are graphical objects, they are defined independently from the SEEG contacts available in the channel file and recordings."

Thank you again