17 #ifndef _SUTRA_WFS_SH_H_
18 #define _SUTRA_WFS_SH_H_
53 map<vector<int>, cufftHandle *> fttotim_plans);
55 int load_arrays(
int *phasemap,
int *hrmap,
int *binmap,
float *offsets,
56 float *fluxPerSub,
int *validsubsx,
int *validsubsy,
57 int *istart,
int *jstart,
float *ttprojmat,
58 cuFloatComplex *kernel);
63 float zerop = 0,
float gsmag = 0,
float lgsreturnperwatt = 0,
64 float laserpower = 0);
66 int set_field_stop(map<vector<int>, cufftHandle *> campli_plans,
float* field_stop,
int N);
this class provides the context in which CarmaObj are created
this class provides the telescope features to COMPASS
this class provides the wfs features to COMPASS
CarmaObj< cuFloatComplex > * d_fttotim
CarmaObj< cuFloatComplex > * d_camplifoc
CarmaObj< cuFloatComplex > * d_camplipup
this class provides the wfs_sh features to COMPASS
int comp_image(bool noise=true)
int allocate_buffers(map< vector< int >, cufftHandle * > campli_plans, map< vector< int >, cufftHandle * > fttotim_plans)
cufftHandle * fsampli_plan
int set_field_stop(map< vector< int >, cufftHandle * > campli_plans, float *field_stop, int N)
SutraWfsSH(const SutraWfsSH &wfs)
CarmaObj< int > * d_validpuppixy
int fill_binimage(int async)
int define_mpi_rank(int rank, int size)
int set_bincube(float *bincube, int nElem)
CarmaObj< int > * d_validpuppixx
int load_arrays(int *phasemap, int *hrmap, int *binmap, float *offsets, float *fluxPerSub, int *validsubsx, int *validsubsy, int *istart, int *jstart, float *ttprojmat, cuFloatComplex *kernel)
int comp_nphot(float ittime, float optthroughput, float diam, int nxsub, float zerop=0, float gsmag=0, float lgsreturnperwatt=0, float laserpower=0)
CarmaObj< cuFloatComplex > * d_fsamplipup
CarmaObj< int > * d_binmap
CarmaObj< cuFloatComplex > * d_fsamplifoc
SutraWfsSH(CarmaContext *context, SutraTelescope *d_tel, CarmaObj< cuFloatComplex > *d_camplipup, CarmaObj< cuFloatComplex > *d_camplifoc, CarmaObj< cuFloatComplex > *d_fttotim, long nxsub, long nvalid, long npix, long nphase, long nrebin, long nfft, long ntot, long npup, float pdiam, float nphotons, float nphot4imat, int lgs, bool fakecam, int max_flux_per_pix, int max_pix_value, bool is_low_order, bool roket, int device)