@@ -56,39 +56,29 @@ CalcTMP::CalcTMP()
5656 : Module(staticInfo_)
5757{
5858 INITIALIZE_PORT (Amplitude);
59- INITIALIZE_PORT (i1 );
60- INITIALIZE_PORT (i2 );
61- INITIALIZE_PORT (i3 );
62- INITIALIZE_PORT (i4 );
63- INITIALIZE_PORT (i5 );
64- INITIALIZE_PORT (i6 );
59+ INITIALIZE_PORT (Depolarization_Time );
60+ INITIALIZE_PORT (Depolarization_Slope );
61+ INITIALIZE_PORT (Plateau_Slope );
62+ INITIALIZE_PORT (Repolarization_Time );
63+ INITIALIZE_PORT (Repolarization_Slope );
64+ INITIALIZE_PORT (Rest_Potential );
6565 INITIALIZE_PORT (TMPs);
6666 // algo_.set_progress_reporter(this);
6767}
6868
6969
7070void CalcTMP::execute ()
7171{
72- MatrixHandle amplitudes = getRequiredInput (Amplitude);
73- auto deps = getOptionalInput (i1);
74-
75-
76-
77-
78- MatrixHandle depslopes;
79- MatrixHandle platslopes;
80- MatrixHandle reps;
81- MatrixHandle repslopes;
82- MatrixHandle rests;
72+ auto amplitudes = getOptionalInput (Amplitude);
73+ auto deps = getOptionalInput (Depolarization_Time);
74+ auto depslopes = getOptionalInput (Depolarization_Slope);;
75+ auto platslopes = getOptionalInput (Plateau_Slope);;
76+ auto reps = getOptionalInput (Repolarization_Time);;
77+ auto repslopes = getOptionalInput (Repolarization_Slope);;
78+ auto rests = getOptionalInput (Rest_Potential);;
79+
8380 MatrixHandle tmps;
84-
85- // get_input_handle("Depolarization Time", deps, false);
86- // get_input_handle("Depolarization Slope", depslopes, false);
87- // get_input_handle("Plateau Slope", platslopes, false);
88- // get_input_handle("Repolarization Time", reps, false);
89- // get_input_handle("Repolarization Slope", repslopes, false);
90- // get_input_handle("Rest Potential", rests, false);
91-
81+
9282 if (needToExecute ())
9383 {
9484 /* TODO LATER
0 commit comments