37 #ifndef _PROPAGATIONPROPERTIESCALCULATOR_HPP_
38 #define _PROPAGATIONPROPERTIESCALCULATOR_HPP_
40 #include "Hdf5DataReader.hpp"
88 const std::string voltageName =
"V");
131 unsigned globalFarNodeIndex,
132 const double euclideanDistance);
146 unsigned globalFarNodeIndex,
147 const double euclideanDistance);
156 unsigned globalNodeIndex);
174 unsigned globalNodeIndex,
186 unsigned lowerNodeIndex,
187 unsigned upperNodeIndex,
219 #endif //_PROPAGATIONPROPERTIESCALCULATOR_HPP_
std::vector< double > mCachedVoltages
void SetHdf5DataReader(Hdf5DataReader *pDataReader)
PropagationPropertiesCalculator(Hdf5DataReader *pDataReader, const std::string voltageName="V")
std::vector< double > mTimes
double CalculatePeakMembranePotential(unsigned globalNodeIndex)
unsigned mCachedNodeGlobalIndex
std::vector< double > CalculateAllMaximumUpstrokeVelocities(unsigned globalNodeIndex, double threshold)
virtual ~PropagationPropertiesCalculator()
Hdf5DataReader * mpDataReader
std::vector< double > CalculateAllConductionVelocities(unsigned globalNearNodeIndex, unsigned globalFarNodeIndex, const double euclideanDistance)
double CalculateMaximumUpstrokeVelocity(unsigned globalNodeIndex)
std::vector< unsigned > CalculateAllAboveThresholdDepolarisations(unsigned globalNodeIndex, double threshold)
double CalculateActionPotentialDuration(const double percentage, unsigned globalNodeIndex)
std::vector< double > & rGetCachedVoltages(unsigned globalNodeIndex)
std::vector< double > CalculateAllActionPotentialDurations(const double percentage, unsigned globalNodeIndex, double threshold)
double CalculateConductionVelocity(unsigned globalNearNodeIndex, unsigned globalFarNodeIndex, const double euclideanDistance)
std::vector< double > CalculateUpstrokeTimes(unsigned globalNodeIndex, double threshold)
const std::string mVoltageName
unsigned CalculateAboveThresholdDepolarisationsForLastAp(unsigned globalNodeIndex, double threshold)
std::vector< std::vector< double > > CalculateAllActionPotentialDurationsForNodeRange(const double percentage, unsigned lowerNodeIndex, unsigned upperNodeIndex, double threshold)