00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _PROPAGATIONPROPERTIESCALCULATOR_HPP_
00031 #define _PROPAGATIONPROPERTIESCALCULATOR_HPP_
00032
00033 #include "Hdf5DataReader.hpp"
00034 #include <string>
00035
00036 class PropagationPropertiesCalculator
00037 {
00038 private:
00040 Hdf5DataReader *mpDataReader;
00042 const std::string mVoltageName;
00043 public:
00051 PropagationPropertiesCalculator(Hdf5DataReader *pDataReader,
00052 const std::string voltageName = "V");
00053 virtual ~PropagationPropertiesCalculator();
00054
00061 double CalculateMaximumUpstrokeVelocity(unsigned globalNodeIndex);
00062
00069 std::vector<double> CalculateAllMaximumUpstrokeVelocities(unsigned globalNodeIndex);
00070
00083 double CalculateConductionVelocity(unsigned globalNearNodeIndex,
00084 unsigned globalFarNodeIndex,
00085 const double euclideanDistance);
00086
00099 std::vector<double> CalculateAllConductionVelocities(unsigned globalNearNodeIndex,
00100 unsigned globalFarNodeIndex,
00101 const double euclideanDistance);
00109 double CalculateActionPotentialDuration(const double percentage,
00110 unsigned globalNodeIndex);
00118 double CalculatePeakMembranePotential(unsigned globalNodeIndex);
00119
00126 std::vector<double> CalculateAllActionPotentialDurations(const double percentage,
00127 unsigned globalNodeIndex);
00128
00129 };
00130
00131 #endif //_PROPAGATIONPROPERTIESCALCULATOR_HPP_