bfieldtools.integrals.omega¶
-
bfieldtools.integrals.
omega
(R)¶ Calculate the solid angle of a triangles
see A. Van Oosterom and J. Strackee IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. BME-30, NO. 2, 1983
- Parameters
- Rndarray (Neval, (Ntri), N_triverts, xyz)
displacement vectors (r-r’) of Ntri triangles and Neval evaluation points for the 3 vertices of the triangles/triangle.
The shape of R can any with the constraint that the last dimenion corrsponds to coordinates (x, y, z) and the second last dimension to triangle vertices (vert1, vert2, vert3)
- Returns
- sa: (Neval, (Ntri))
Solid angles of subtened by triangles at evaluation points