MAOS
Multithreaded Adaptive Optics Simulator
|
Functions | |
hyst_t * | hyst_new (real hysteresis, real alpha, real stroke, long nact) |
void | hyst_reset (hyst_t *hyst) |
void | hyst_free (hyst_t *in) |
void | hyst_dmat (hyst_t *hyst, dmat *dmreal, const dmat *dmcmd) |
void | hyst_dcell (hyst_t **hyst, dcell *dmreal, const dcell *dmcmd) |
dmat * | hyst_test (real hysteresis, real hyst_alpha, real hyst_stroke, const dmat *dmcmd) |
Routines for hysteresis modeling
hyst_t* hyst_new | ( | real | hysteresis, |
real | alpha, | ||
real | stroke, | ||
long | nact | ||
) |
Hysteresis modeling. Create the hysteresis model. It assumes that the hysteresis is measured with a stroke.
hysteresis | The ratio of the maximum difference of ascending/descending curve over 2*stroke. |
alpha | The alpha parameter |
stroke | The DM command is from -stroke to stroke |
nact | Number of actuators |
void hyst_reset | ( | hyst_t * | hyst | ) |
Reset hysteresis state
void hyst_free | ( | hyst_t * | hyst | ) |
Free hysteresis model.
Apply hysteresis to DM vector. dmreal and dmcmd may be the same
Apply hysteresis to set of DM vectors