Generalize get_source_field
for arbitrarily shaped sources
#101
Labels
enhancement
New feature or request
Milestone
The function
get_source_field
returns the field for a dipole source. Source fields can be summed up to yield arbitrary sources, e.g. a square loop (hence providing a 'magnetic' source). An example of this is given in the example magnetic_source_el_loop in the gallery:The function
get_source_field
should be extended to do this in one call,get_source_field(grid, src, freq, strength)
, where each parameter in the tuplesrc=(x0, x1, y0, y1, z0, z1)
will be an array instead of a float.The text was updated successfully, but these errors were encountered: