Kstars
gaussian_process_guider.h
262 double delta_measurement_time = std::chrono::duration<double>(current_time - last_time_).count();
360 Eigen::MatrixXd regularize_dataset(const Eigen::VectorXd ×tamps, const Eigen::VectorXd &gear_error,
The GP class implements the Gaussian Process functionality.
void DirectMoveApplied(double amt, double rate)
This method tells the guider that a direct move was issued.
Definition: gaussian_process_guider.cpp:466
double result(double input, double SNR, double time_step, double prediction_point=-1.0)
Calculates the control value based on the current input.
Definition: gaussian_process_guider.cpp:269
The file holds the covariance functions that can be used with the GP class.
void reset()
Clears the data from the circular buffer and clears the GP data.
Definition: gaussian_process_guider.cpp:423
void UpdatePeriodLength(double period_length)
Does filtering and sets the period length of the GPGuider.
Definition: gaussian_process_guider.cpp:690
void UpdateGP(double prediction_point=std::numeric_limits< double >::quiet_NaN())
Runs the inference machinery on the GP.
Definition: gaussian_process_guider.cpp:140
double deduceResult(double time_step, double prediction_point=-1.0)
This method provides predictive control if no measurement could be made.
Definition: gaussian_process_guider.cpp:387
void inject_data_point(double timestamp, double input, double SNR, double control)
This method is needed for automated testing.
Definition: gaussian_process_guider.cpp:592
void GuidingDithered(double amt, double rate)
This method tells the guider that a dither command was issued.
Definition: gaussian_process_guider.cpp:443
This class provides a guiding algorithm for the right ascension axis that learns and predicts the per...
Definition: gaussian_process_guider.h:47
void SetLearningRate(double learning_rate)
Sets the learning rate.
Definition: gaussian_process_guider.cpp:851
double getPredictionContribution()
Returns the weight of the prediction on the output control value.
Definition: gaussian_process_guider.h:253
Eigen::MatrixXd regularize_dataset(const Eigen::VectorXd ×tamps, const Eigen::VectorXd &gear_error, const Eigen::VectorXd &variances)
Takes timestamps, measurements and SNRs and returns them regularized in a matrix.
Definition: gaussian_process_guider.cpp:709
Holds all data that is needed for the GP guiding.
Definition: gaussian_process_guider.h:113
void save_gp_data() const
Saves the GP data to a csv file for external analysis.
Definition: gaussian_process_guider.cpp:776
void GuidingDitherSettleDone(bool success)
This method tells the guider that dithering is finished.
Definition: gaussian_process_guider.cpp:455
Provides mathematical tools needed for the Gaussian process toolbox.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:58:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:58:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.