class seams::HbondTcf#
Overview#
Owned streaming hydrogen-bond lifetime accumulator. More…
#include <include/seams.hpp>
class HbondTcf: public seams::detail::Handle {
public:
// construction
HbondTcf(std::size_t max_lag, std::size_t origin_stride, double dt, bool directed = true);
// methods
void push(std::span<const int> donors, std::span<const int> acceptors);
HbondLifetimeCurve curve() const;
HbondLifetimeFit fit(double t_start = 0.0, double t_end = 0.0) const;
};
Inherited Members#
Detailed Documentation#
Owned streaming hydrogen-bond lifetime accumulator.
Construction#
HbondTcf(std::size_t max_lag, std::size_t origin_stride, double dt, bool directed = true)
Allocate an H-bond lifetime accumulator.
Parameters:
max_lag |
Maximum lag in frames, or 0 for all lags. |
origin_stride |
Frame stride between origins. |
dt |
Frame spacing. |
directed |
True for directed |
Methods#
void push(std::span<const int> donors, std::span<const int> acceptors)
Push one frame’s (donor, acceptor) arrays.
HbondLifetimeCurve curve() const
Read intermittent C_HB and continuous S_HB curves.
HbondLifetimeFit fit(double t_start = 0.0, double t_end = 0.0) const
Fit integrated and single-exponential lifetimes.