![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
#include <carma_cublas.h>
#include <carma_host_obj.h>
#include <sutra_centroider.h>
#include <sutra_dm.h>
#include <sutra_utils.h>
#include <sutra_wfs.h>
#include <mutex>
#include <tuple>
#include <deque>
Go to the source code of this file.
Classes | |
class | SutraController< Tcomp, Tout > |
this class provides the controller features to COMPASS More... | |
Functions | |
template<typename Tcomp , typename Tout > | |
std::enable_if< std::is_same< Tcomp, Tout >::value, void >::type | init_voltage_impl (CarmaObj< Tout > *&volts, CarmaObj< Tcomp > *comClipped) |
template<typename Tcomp , typename Tout > | |
std::enable_if<!std::is_same< Tcomp, Tout >::value, void >::type | init_voltage_impl (CarmaObj< Tout > *&volts, CarmaObj< Tcomp > *comClipped) |
template<typename Tin , typename Tout > | |
std::enable_if< std::is_same< Tin, Tout >::value, void >::type | convert_to_voltage (Tin *d_idata, Tout *d_odata, int N, float volt_min, float volt_max, uint16_t val_max, CarmaDevice *device) |
template<typename Tin , typename Tout > | |
std::enable_if<!std::is_same< Tin, Tout >::value, void >::type | convert_to_voltage (Tin *d_idata, Tout *d_odata, int N, float volt_min, float volt_max, uint16_t val_max, CarmaDevice *device) |
int | shift_buf (float *d_data, int offset, int N, CarmaDevice *device) |
int | fill_filtmat (float *filter, int nactu, int N, CarmaDevice *device) |
int | TT_filt (float *mat, int n, CarmaDevice *device) |
int | fill_cmat (float *cmat, float *wtt, float *Mtt, int nactu, int nslopes, CarmaDevice *device) |
int | do_statmat (float *statcov, long dim, float *xpos, float *ypos, float norm, CarmaDevice *device) |
template<class T > | |
int | get_pupphase (T *odata, float *idata, int *indx_pup, int Nphi, CarmaDevice *device) |
int | compute_Hcor_gpu (float *o_data, int nrow, int ncol, float Fs, float gmin, float gmax, float delay, CarmaDevice *device) |
int | absnormfft (cuFloatComplex *idata, float *odata, int N, float norm, CarmaDevice *device) |
int | adjust_csr_index (int *rowind, int *NNZ, int *nact, int nact_tot, int row_off, CarmaDevice *device) |
int absnormfft | ( | cuFloatComplex * | idata, |
float * | odata, | ||
int | N, | ||
float | norm, | ||
CarmaDevice * | device | ||
) |
int adjust_csr_index | ( | int * | rowind, |
int * | NNZ, | ||
int * | nact, | ||
int | nact_tot, | ||
int | row_off, | ||
CarmaDevice * | device | ||
) |
int compute_Hcor_gpu | ( | float * | o_data, |
int | nrow, | ||
int | ncol, | ||
float | Fs, | ||
float | gmin, | ||
float | gmax, | ||
float | delay, | ||
CarmaDevice * | device | ||
) |
std::enable_if<std::is_same<Tin, Tout>::value, void>::type convert_to_voltage | ( | Tin * | d_idata, |
Tout * | d_odata, | ||
int | N, | ||
float | volt_min, | ||
float | volt_max, | ||
uint16_t | val_max, | ||
CarmaDevice * | device | ||
) |
Definition at line 163 of file sutra_controller.h.
std::enable_if<!std::is_same<Tin, Tout>::value, void>::type convert_to_voltage | ( | Tin * | d_idata, |
Tout * | d_odata, | ||
int | N, | ||
float | volt_min, | ||
float | volt_max, | ||
uint16_t | val_max, | ||
CarmaDevice * | device | ||
) |
Definition at line 163 of file sutra_controller.h.
int do_statmat | ( | float * | statcov, |
long | dim, | ||
float * | xpos, | ||
float * | ypos, | ||
float | norm, | ||
CarmaDevice * | device | ||
) |
int fill_cmat | ( | float * | cmat, |
float * | wtt, | ||
float * | Mtt, | ||
int | nactu, | ||
int | nslopes, | ||
CarmaDevice * | device | ||
) |
int fill_filtmat | ( | float * | filter, |
int | nactu, | ||
int | N, | ||
CarmaDevice * | device | ||
) |
int get_pupphase | ( | T * | odata, |
float * | idata, | ||
int * | indx_pup, | ||
int | Nphi, | ||
CarmaDevice * | device | ||
) |
std::enable_if<std::is_same<Tcomp, Tout>::value, void>::type init_voltage_impl | ( | CarmaObj< Tout > *& | volts, |
CarmaObj< Tcomp > * | comClipped | ||
) |
Definition at line 62 of file sutra_controller.h.
std::enable_if<!std::is_same<Tcomp, Tout>::value, void>::type init_voltage_impl | ( | CarmaObj< Tout > *& | volts, |
CarmaObj< Tcomp > * | comClipped | ||
) |
int shift_buf | ( | float * | d_data, |
int | offset, | ||
int | N, | ||
CarmaDevice * | device | ||
) |
int TT_filt | ( | float * | mat, |
int | n, | ||
CarmaDevice * | device | ||
) |