CoreNEURON
|
LFPCalculator allows calculation of LFP given membrane currents. More...
LFPCalculator allows calculation of LFP given membrane currents.
#include <lfp.hpp>
Public Member Functions | |
LFPCalculator (const lfputils::Point3Ds &seg_start, const lfputils::Point3Ds &seg_end, const std::vector< double > &radius, const std::vector< SegmentIdTy > &segment_ids, const lfputils::Point3Ds &electrodes, double extra_cellular_conductivity) | |
LFP Calculator constructor. More... | |
template<typename Vector > | |
void | lfp (const Vector &membrane_current) |
const std::vector< double > & | lfp_values () const noexcept |
Private Member Functions | |
double | getFactor (const lfputils::Point3D &e_pos, const lfputils::Point3D &seg_0, const lfputils::Point3D &seg_1, const double radius, const double f) const |
double | getFactor (const lfputils::Point3D &e_pos, const lfputils::Point3D &seg_0, const lfputils::Point3D &seg_1, const double radius, const double f) const |
double | getFactor (const lfputils::Point3D &e_pos, const lfputils::Point3D &seg_0, const lfputils::Point3D &seg_1, const double radius, const double f) const |
Private Attributes | |
std::vector< double > | lfp_values_ |
std::vector< std::vector< double > > | m |
const std::vector< SegmentIdTy > & | segment_ids_ |
template coreneuron::LFPCalculator< Ty, SegmentIdTy >::LFPCalculator | ( | const lfputils::Point3Ds & | seg_start, |
const lfputils::Point3Ds & | seg_end, | ||
const std::vector< double > & | radius, | ||
const std::vector< SegmentIdTy > & | segment_ids, | ||
const lfputils::Point3Ds & | electrodes, | ||
double | extra_cellular_conductivity | ||
) |
LFP Calculator constructor.
seg_start | all segments start owned by the proc |
seg_end | all segments end owned by the proc |
radius | fence around the segment. Ensures electrode cannot be arbitrarily close to the segment |
electrodes | positions of the electrodes |
extra_cellular_conductivity | conductivity of the extra-cellular medium |
|
inlineprivate |
|
private |
|
private |
|
inline |
|
inlinenoexcept |
|
private |
|
private |
|
private |