 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
42 #ifndef _SUTRA_CONTROLLER_MV_H_
43 #define _SUTRA_CONTROLLER_MV_H_
53 template <
typename Tcomp,
typename Tout>
83 int ndm,
int *idx_centro,
int ncentro);
100 Tcomp *xpos, Tcomp *ypos,
long Nkl, Tcomp norm, Tcomp ampli);
119 double *cn2,
double *alphaX,
double *alphaY,
double diamTel,
122 double *L0,
double *cn2,
double *alphaX,
double *alphaY,
123 double *X,
double *Y,
double *xactu,
double *yactu,
124 double diamTel,
double *k2,
long *NlayerDm,
125 long *indLayerDm,
double FoV,
double *pitch,
129 #endif // _SUTRA_CONTROLLER_MV_H_
CarmaObj< Tcomp > * d_cenbuff
this class provides the controller_mv features to COMPASS
this file provides the cublas features to CarmaObj
CarmaObj< Tcomp > * d_cmat
CarmaObj< Tcomp > * d_noisemat
CarmaObj< Tcomp > * d_compbuff
CarmaHostObj< Tcomp > * h_Cmmeigenvals
sutra_controller_mv(CarmaContext *context, long nvalid, long nslope, long nactu, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro)
CarmaObj< Tcomp > * d_err
int compute_Cphim(SutraAtmos *atmos, SutraSensors *sensors, SutraDms *dms, double *L0, double *cn2, double *alphaX, double *alphaY, double *X, double *Y, double *xactu, double *yactu, double diamTel, double *k2, long *NlayerDm, long *indLayerDm, double FoV, double *pitch, double *alt_dm)
CarmaObj< Tcomp > * d_gain
int set_imat(Tcomp *imat)
int build_cmat(Tcomp cond)
int comp_com()
!!! YOU MUST set d_centroids before calling it!!!!
int load_klbasis(Tcomp *klbasis)
CarmaObj< Tcomp > * d_covmat
this class provides the atmos features to COMPASS
CarmaObj< Tcomp > * d_imat
int set_modal_gains(Tcomp *mgain)
sutra_controller_mv(const sutra_controller_mv &controller)
CarmaObj< Tcomp > * d_olmeas
int load_noisemat(Tcomp *noise)
int DDiago(CarmaObj< Tcomp > *d_statcov, CarmaObj< Tcomp > *d_geocov)
int build_cmat(const char *dmtype, char *method)
int set_cmat(Tcomp *cmat)
int piston_filt_cphim(CarmaObj< Tcomp > *d_cphim, Tcomp *F)
int invgen_cpu(CarmaObj< Tcomp > *d_mat, CarmaHostObj< Tcomp > *h_eigen, Tcomp cond)
CarmaHostObj< Tcomp > * h_eigenvals
int do_covmat(SutraDm *ydm, char *method, int *indx_pup, long dim, Tcomp *xpos, Tcomp *ypos, long Nkl, Tcomp norm, Tcomp ampli)
this class provides the context in which CarmaObj are created
CarmaObj< Tcomp > * d_Cmm
CarmaObj< Tcomp > * d_Cphim
int compute_Cmm(SutraAtmos *atmos, SutraSensors *sensors, double *L0, double *cn2, double *alphaX, double *alphaY, double diamTel, double cobs)
this class provides the sensors features to COMPASS
CarmaObj< Tcomp > * d_KLbasis
cublasHandle_t cublas_handle
int load_covmat(Tcomp *covmat)
CarmaObj< Tcomp > * d_compbuff2
int piston_filt(CarmaObj< Tcomp > *d_statcov)
this class provides the dm features to COMPASS
int invgen(CarmaObj< Tcomp > *d_mat, CarmaHostObj< Tcomp > *h_eigen, Tcomp cond)
int do_geomat(CarmaObj< Tcomp > *d_geocov, CarmaObj< Tcomp > *d_IF, long n_pts, Tcomp ampli)
int invgen(CarmaObj< Tcomp > *d_mat, Tcomp cond, int job)
int filter_cphim(Tcomp *F, Tcomp *Nact)
int filter_cmat(Tcomp cond)
this class provides the controller features to COMPASS