FAILED TO INTERPOLATE EXTRACELLULAR FIELDS ONTO NEURONS
-
Please I need help with this error.
What I am attempting to do is, based on Yoon-sun's Arm Stimulation tutorial, replicate the same procedure with Jeduk's human body model (because I need the nerve trajectories, which, if I am not mistaken, are only available in this model and Yoon-sun's, correct?). My objective is to stimulate with two electrodes in the abdomen/chest area and evaluate the current and electric field that reaches the different tissues. However, I have encountered an issue that I cannot seem to resolve, even after consulting the forum and searching through the documentation.Upon reaching the Neuronal Simulation Solver, I am encountering the following error: "Failed to interpolate extracellular fields onto neurons", and I am unable to pinpoint the source of this error.
I have considered that it might be related to the electrode placement, but I have repositioned them a couple of times with no success (I attach an image). Is there a way to ensure that the electrodes are correctly positioned on the skin? Could that be the issue? Furthermore, I have diligently followed the steps outlined in the tutorial I mentioned, and I am unsure where the problem lies.Thank you!!!
-
Bump this up as I have exactly the same question with Jeduk V4.
I'm doing very similar simulations with the lumbar region of the model and the EMLF simulation completed without any error. However, I have the same error with the neuronal simulation. I've cropped the trajectories to make sure that they are all within the computational zone of the EMLF simulation. This reduced the number of components/elements displayed in the error message but did not solve the issue. -
To follow up on this problem just in case other people encounter similar issues, I found out that in my case this error was caused by cropping the region of interest out of the anatomical model.
I cropped the Jeduk static surfaces with Planar cut as well as the nerve trajectories to preserve only the torso/chest region. As a result, from some nerve trajectories that extend beyond the region of interest and loop back into the region, multiple wires resulted from the cropping. The discontinuity in these splines caused issues in discretization which showed up in the console as a "Failed to interpolate extracellular fields onto neurons" error for me.
This problem was solved by iterating through all the remaining nerve trajectories after cropping and checking using xcm.GetWires() how many wire bodies are contained in each trajectory. If there is more than one, the wire body with the max length is cloned and given the same name as the original trajectory and the problematic trajectory was deleted.