Techniques for determining the location of a physiological midline and utilizing the physiological midline location to improve a spinal cord stimulation model are disclosed. A first improvement constructs a target stimulation field along a line that is parallel with the determined physiological midline. An allocation of stimulation among the electrodes to mimic the target field is computed. A second improvement models a response of neural elements at evaluation positions that are parallel with the physiological midline based on the electric field that is generated for the computed allocation of stimulation among the electrodes. The stimulation amplitude is adjusted based on the neural element modeling to maintain stimulation intensity, and the stimulation amplitude and allocation of stimulation among the electrodes are compiled into an electrode configuration that is communicated to a neurostimulator.
System to improve a spinal cord stimulation model based on a physiological midline location