Optical Systems¤
TolimanOpticalSystem
dLuxToliman.optical_systems.TolimanOpticalSystem
¤
Bases: AngularOpticalSystem()
Source code in dLuxToliman/optical_systems.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | |
__init__(wf_npixels=256, psf_npixels=128, oversample=4, psf_pixel_scale=0.375, mask=None, radial_orders=None, noll_indices=None, coefficients=None, m1_diameter=0.125, m2_diameter=0.032, strut_width=0.002, z_oversize=1.01)
¤
A pre-built dLux optics layer of the Toliman optical system. Note TolimanOptics uses units of arcseconds.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wf_npixels
|
int
|
The pixel width the wavefront layer. |
256
|
psf_npixels
|
int
|
The pixel width of the PSF. |
128
|
oversample
|
int
|
The Nyquist oversampling factor of the PSF. |
4
|
psf_pixel_scale
|
float
|
The pixel scale of the PSF in arcseconds per pixel. |
0.375
|
mask
|
Array
|
The diffractive mask array to apply to the wavefront layer. |
None
|
radial_orders
|
Array = None
|
The radial orders of the zernike polynomials to be used for the aberrations. Input of [0, 1] would give [Piston, Tilt X, Tilt Y], [1, 2] would be [Tilt X, Tilt Y, Defocus, Astig X, Astig Y], etc. The order must be increasing but does not have to be consecutive. If you want to specify specific zernikes across radial orders the noll_indices argument should be used instead. |
None
|
noll_indices
|
Array
|
The zernike noll indices to be used for the aberrations. [1, 2, 3] would give [Piston, Tilt X, Tilt Y], [2, 3, 4] would be [Tilt X, Tilt Y, Defocus. |
None
|
coefficients
|
Array
|
The coefficients of the Zernike polynomials. |
None
|
m1_diameter
|
float
|
The outer diameter of the primary mirror in metres. |
0.125
|
m2_diameter
|
float
|
The diameter of the secondary mirror in metres. |
0.032
|
strut_width
|
float
|
The width of the struts in metres. |
0.002
|
z_oversize
|
float
|
The oversize factor of the zernike polynomials relative to the primary mirror diameter. This is to ensure that the zernike polynomials are not truncated at the edge of the aperture, which can cause artefacts in the PSF. Default is 1.01. |
1.01
|
Source code in dLuxToliman/optical_systems.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | |