“…Additionally, device optimization often divides the coil or electrode distribution into a set of discrete Optimizing selective stimulation of peripheral nerves with arrays of coils or surface electrodes using a linear peripheral nerve stimulation metric Mathias Davids 1,2,3,6 , Bastien Guérin 1,2 , Valerie Klein 1,3 , Martin Schmelz 4 , Lothar R Schad 3 and Lawrence L Wald 1,2,5 basis elements [19,36,46,47], and because the total electromagnetic field is the superposition of the fields from individual coil or electrode elements, they can be computed as a weighted linear combination of those basis elements. The boundary element method stream function (BEM-SF) approach for designing coil winding patterns with desired field characteristics is an example of this approach which uses a set of current basis functions to compose all possible current patterns as a weighted combination of the basis functions [23,31,34].…”