MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
rayleigh.h File Reference

Data Structures

struct  rayleigh_t
 Parameters for the rayleigh() scattering simulation. More...
 

Functions

dcell * rayleigh (rayleigh_t *cfg)
 Compute rayleigh backscatter patterns for all WFS. All input are in SI unit.
 
void rayleigh_free (rayleigh_t *cfg)
 
rayleigh_t * rayleigh_setup (real D)
 

Detailed Description

Compute rayleigh backscatter for WFS subaperture


Data Structure Documentation

◆ rayleigh_t

struct rayleigh_t

Parameters for the rayleigh() scattering simulation.

+ Collaboration diagram for rayleigh_t:
Data Fields
loc_t * saloc

Subaperture lower left corner location.

dmat * thetax

LGS on sky angle wrt optical axis (x-component).

dmat * thetay

LGS on sky angle wrt optical axis (y-component).

dmat * llt_ox

LLT location for each LGS (x-coordinate).

dmat * llt_oy

LLT location for each LGS (y-coordinate).

dmat * tau

n*3 matrix: [height, total throughput, scattering fraction].

double dsa

Subaperture size.

double sbeam

Sigma (knee width) of the laser beam Gaussian profile.

double dbeam

Full width of laser beam as clipped by the LLT.

double hs

Altitude/Height of the Laser Guide Star (LGS).

double dtheta

Angular resolution for PSF sampling.

int npsf

Grid size for the PSF (e.g., npsf x npsf).

Function Documentation

◆ rayleigh()

dcell * rayleigh ( rayleigh_t *  cfg)

Compute rayleigh backscatter patterns for all WFS. All input are in SI unit.

Returns
dcell* PSF for each subaperture