 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
42 #ifndef _SUTRA_SENSORS_H_
43 #define _SUTRA_SENSORS_H_
78 vector<string> type,
int nwfs,
long *nxsub,
long *nvalid,
79 long *npupils,
long *npix,
long *nphase,
long *nrebin,
80 long *nfft,
long *ntot,
long *npup,
float *pdiam,
float *nphot,
81 float *nphot4imat,
int *lgs,
bool *fakecam,
int *max_flux_per_pix,
89 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
90 long *size,
float *noise,
long *seed,
float *G,
float *thetaML,
91 float *dx,
float *dy);
92 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
93 long *size,
float *noise,
float *G,
float *thetaML,
float *dx,
95 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
96 long *size,
float *G,
float *thetaML,
float *dx,
float *dy);
101 #endif // _SUTRA_SENSORS_H_
CarmaObj< float > * d_lgskern
map< vector< int >, cufftHandle * > fttotim_plans
SutraSensors(CarmaContext *context, SutraTelescope *d_tel, vector< string > type, int nwfs, long *nxsub, long *nvalid, long *npupils, long *npix, long *nphase, long *nrebin, long *nfft, long *ntot, long *npup, float *pdiam, float *nphot, float *nphot4imat, int *lgs, bool *fakecam, int *max_flux_per_pix, int *max_pix_value, int device, bool roket)
CarmaContext * current_context
this file provides tools to CarmaObj
int initgs(float *xpos, float *ypos, float *lambda, float *mag, float zerop, long *size, float *noise, long *seed, float *G, float *thetaML, float *dx, float *dy)
map< vector< int >, cufftHandle * > campli_plans
int define_mpi_rank(int rank, int size)
int initgs(float *xpos, float *ypos, float *lambda, float *mag, float zerop, long *size, float *G, float *thetaML, float *dx, float *dy)
int set_noise(int nwfs, float noise, long seed)
this class provides the telescope features to COMPASS
this class provides the context in which CarmaObj are created
int initgs(float *xpos, float *ypos, float *lambda, float *mag, float zerop, long *size, float *noise, float *G, float *thetaML, float *dx, float *dy)
CarmaObj< cuFloatComplex > * d_camplipup
CarmaObj< cuFloatComplex > * d_camplifoc
CarmaObj< cuFloatComplex > * d_fttotim
map< vector< int >, cufftHandle * > ftlgskern_plans
vector< SutraWfs * > d_wfs
this class provides the sensors features to COMPASS
CarmaObj< cuFloatComplex > * d_ftlgskern