42 std::vector<std::string> lead_names;
43 std::vector<std::vector<float>> trace_data;
44 std::vector<sf_vec*> Z;
47 float ecg_timedt = 0.0f;
53 void apply_unit_curr_lead(
const std::string & lead,
Electrics & elec);
54 void write_leadfield_igb(
const std::string & lead_name,
sf_vec * phie_i);
A vector storing arbitrary data.
int run(Electrics &elec)
Full pipeline: construct or load Z, stream vm.igb, write ECG_*.dat.
Top-level header of FEM module.
Electrical stimulation functions.