Download geometry files for ECGSIM 1.3From here the geometry descriptions of the heart, the thorax and some other geometries used in ecgsim can be downloaded:
The format of the .tri files is as follows:
where npnt is the number of vertices, x(i), y(i) and z(i) are the coordinates (in meters) of vertex i, ntri is the number of triangles, and ind(j,1), ind(j,2) and ind(j,3) are the indices of the vertices of triangle j. The order of the indices for a triangle defines the orientation of the triangle; seen from the outside the vertices are number clockwise.
The format of the .tra (transfer matrix) file is as follows:
where tra(i,j) is the potential generated at vertex i of the thorax by a unit
double layer source at vertex j of the mycardial surface.