seams-core v2.14.2
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
traj::HbondLifetimeAccumulator Class Reference

Streaming multi-origin H-bond lifetime accumulator (C_HB and S_HB). More...

#include <src/include/internal/trajectory.hpp>

Public Member Functions

 HbondLifetimeAccumulator (std::size_t maxLag, std::size_t originStride, double dt, bool directed=true)
bool valid () const noexcept
std::size_t framesSeen () const noexcept
std::size_t numLags () const noexcept
bool push (const int *donors, const int *acceptors, std::size_t nEdges)
void curve (std::vector< double > &lagTime, std::vector< double > &cIntermittent, std::vector< double > &sContinuous, std::vector< std::size_t > &nOrigins) const
bool fit (double tStart, double tEnd, DecayFitResult &intermittentFit, DecayFitResult &continuousFit) const

Detailed Description

Streaming multi-origin H-bond lifetime accumulator (C_HB and S_HB).

Definition at line 335 of file trajectory.hpp.

Constructor & Destructor Documentation

◆ HbondLifetimeAccumulator()

traj::HbondLifetimeAccumulator::HbondLifetimeAccumulator ( std::size_t maxLag,
std::size_t originStride,
double dt,
bool directed = true )

Member Function Documentation

◆ curve()

void traj::HbondLifetimeAccumulator::curve ( std::vector< double > & lagTime,
std::vector< double > & cIntermittent,
std::vector< double > & sContinuous,
std::vector< std::size_t > & nOrigins ) const

◆ fit()

bool traj::HbondLifetimeAccumulator::fit ( double tStart,
double tEnd,
DecayFitResult & intermittentFit,
DecayFitResult & continuousFit ) const

◆ framesSeen()

std::size_t traj::HbondLifetimeAccumulator::framesSeen ( ) const
inlinenodiscardnoexcept

Definition at line 341 of file trajectory.hpp.

341{ return framesSeen_; }

◆ numLags()

std::size_t traj::HbondLifetimeAccumulator::numLags ( ) const
nodiscardnoexcept

◆ push()

bool traj::HbondLifetimeAccumulator::push ( const int * donors,
const int * acceptors,
std::size_t nEdges )

◆ valid()

bool traj::HbondLifetimeAccumulator::valid ( ) const
inlinenodiscardnoexcept

Definition at line 340 of file trajectory.hpp.

340{ return valid_; }

The documentation for this class was generated from the following file: