COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
sutra_coronagraph.h File Reference
#include <carma_cublas.h>
#include <sutra_utils.h>
#include <sutra_source.h>
#include <tuple>
#include <vector>
Include dependency graph for sutra_coronagraph.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SutraCoronagraph
 this class provides the coronagraph features to COMPASS More...
 

Functions

int compute_electric_field (cuFloatComplex *electric_field, float *phase_opd, float scale, float *amplitude, float *mask, int dimx, int dimy, CarmaDevice *device)
 
int remove_complex_avg (cuFloatComplex *electric_field, cuFloatComplex sum, float *mask, int Nvalid, int dimx, int dimy, CarmaDevice *device)
 
int accumulate_abs2 (cuFloatComplex *img, float *abs2img, int N, CarmaDevice *device)
 
int apply_mask (cuFloatComplex *electric_field, float *mask, int N, CarmaDevice *device)
 

Function Documentation

◆ accumulate_abs2()

int accumulate_abs2 ( cuFloatComplex *  img,
float *  abs2img,
int  N,
CarmaDevice device 
)

◆ apply_mask()

int apply_mask ( cuFloatComplex *  electric_field,
float *  mask,
int  N,
CarmaDevice device 
)

◆ compute_electric_field()

int compute_electric_field ( cuFloatComplex *  electric_field,
float *  phase_opd,
float  scale,
float *  amplitude,
float *  mask,
int  dimx,
int  dimy,
CarmaDevice device 
)

◆ remove_complex_avg()

int remove_complex_avg ( cuFloatComplex *  electric_field,
cuFloatComplex  sum,
float *  mask,
int  Nvalid,
int  dimx,
int  dimy,
CarmaDevice device 
)