following the use case. I have developed a segmentation algorithm that localises channel positions in single subject space for intracerebral implants. This algorithm requires as initial points the target ( head ) and cortical entry point ( tail ) of each electrode. These points should come in pairs ( both target and entry) for each electrode to be segmented. These pairs are saved in a single markup list of 2*N elements with N == number of implanted electrodes. The segmentation algorithm reconstructs the final position of each recording contact in each electrode starting from the entry/target point pairs + electrode model. The algorithm is quite robust to misplacements of the entry/target points, but sometimes ( manual error ) one of these points for some electrodes are significantly far for the expected position. At the moment, our algorithm reads the markup list and store point pairs in a vector of Electrode Objects (i.e. class that contains self.target and self.entry as members, among others). After that, the module creates a table the user can select for electrode the final model together with some other properties.Here it comes the problem I’m currently facing. While processing complex ( > 10-15 electrodes ) it might happen that the user is unsatisfied by the segmentation wants to modify the position of the initial entry/target pairs. After the change, the markup list is updated but our module do not read those changes. The user can indeed reload the module, but this translate in loosing the parameters he chose. We now use the fiducial.GetNthFiducialPosition function which returns for the i-th markup the corresponding coordinate triplets. Is there a possibility to get a reference to that object instead? This will allows us to online upload the coordinate without the need of partial refactoring the logic.
Thanks a lot for your time