17 #ifndef _SUTRA_SENSORS_H_
18 #define _SUTRA_SENSORS_H_
54 vector<string> type,
int nwfs,
long *nxsub,
long *nvalid,
55 long *npupils,
long *npix,
long *nphase,
long *nrebin,
56 long *nfft,
long *ntot,
long *npup,
float *pdiam,
float *nphot,
57 float *nphot4imat,
int *lgs,
bool *fakecam,
int *max_flux_per_pix,
66 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
67 long *size,
float *noise,
long *seed,
float *G,
float *thetaML,
68 float *dx,
float *dy);
69 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
70 long *size,
float *noise,
float *G,
float *thetaML,
float *dx,
72 int initgs(
float *xpos,
float *ypos,
float *lambda,
float *mag,
float zerop,
73 long *size,
float *G,
float *thetaML,
float *dx,
float *dy);
this file provides tools to CarmaObj
this class provides the context in which CarmaObj are created
this class provides the sensors features to COMPASS
int set_field_stop(int nwfs, float *field_stop, int N)
map< vector< int >, cufftHandle * > ftlgskern_plans
CarmaObj< cuFloatComplex > * d_camplifoc
map< vector< int >, cufftHandle * > field_stop_plans
CarmaObj< float > * d_lgskern
map< vector< int >, cufftHandle * > fttotim_plans
CarmaObj< cuFloatComplex > * d_camplipup
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)
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)
int initgs(float *xpos, float *ypos, float *lambda, float *mag, float zerop, long *size, float *noise, float *G, float *thetaML, float *dx, float *dy)
CarmaContext * current_context
CarmaObj< cuFloatComplex > * d_fttotim
CarmaObj< cuFloatComplex > * d_ftlgskern
int define_mpi_rank(int rank, int size)
map< vector< int >, cufftHandle * > campli_plans
int initgs(float *xpos, float *ypos, float *lambda, float *mag, float zerop, long *size, float *G, float *thetaML, float *dx, float *dy)
vector< SutraWfs * > d_wfs
int set_noise(int nwfs, float noise, long seed)
this class provides the telescope features to COMPASS