class seams::Reorientation#
Overview#
Owned streaming orientational correlation accumulator. More…
#include <include/seams.hpp>
class Reorientation: public seams::detail::Handle {
public:
// construction
Reorientation(std::size_t n_vectors, std::size_t max_lag, std::size_t origin_stride, double dt);
// methods
void push(std::span<const double> vectors);
ReorientationCurve curve() const;
ReorientationFit fit(double t_start = 0.0, double t_end = 0.0) const;
};
Inherited Members#
Detailed Documentation#
Owned streaming orientational correlation accumulator.
Construction#
Reorientation(std::size_t n_vectors, std::size_t max_lag, std::size_t origin_stride, double dt)
Allocate a reorientation accumulator.
Parameters:
n_vectors |
Molecular vector count per frame. |
max_lag |
Maximum lag in frames, or 0 for all lags. |
origin_stride |
Frame stride between origins. |
dt |
Frame spacing. |
Methods#
void push(std::span<const double> vectors)
Push one frame of molecular 3-vectors.
ReorientationCurve curve() const
Read C1 and C2 correlation curves.
ReorientationFit fit(double t_start = 0.0, double t_end = 0.0) const
Fit integrated and single-exponential reorientation times.