nirwals.physics.bandpass
Functions related to throughput calculations.
atmospheric_transmission(zenith_distance)
Return the atmospheric transmission curve for a given zenith distance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
zenith_distance |
deg
|
Zenith distance. |
required |
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The transmission curve. |
Source code in nirwals/physics/bandpass.py
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 | |
detector_quantum_efficiency()
Return the quantum efficiency of the detector.
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The quantum efficiency. |
Source code in nirwals/physics/bandpass.py
50 51 52 53 54 55 56 57 58 59 60 61 62 | |
fibre_throughput(seeing, source_extension, zenith_distance)
Return the fibre throughput.
For a point source the throughput is the fraction of the flux in the seeing disk which is covered by the fibre, assuming the source is located at the centre of the fibre. The seeing disk includes atmospheric and telescope seeing.
For a diffuse source the throughput is 1, as losses and gains due to seeing cancel.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
seeing |
arcsec
|
The full width half maximum of the seeing disk for a zenith distance of 0. |
required |
source_extension |
SourceExtension
|
The source extension ("Point" or "Diffuse"O). |
required |
zenith_distance |
deg
|
The zenith distance of the source. |
required |
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The fibre throughput. |
Source code in nirwals/physics/bandpass.py
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 | |
filter_transmission(filter_name)
Return the transmission curve for a given filter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filter_name |
Filter
|
Filter name. |
required |
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The filter transmission curve. |
Source code in nirwals/physics/bandpass.py
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 | |
grating_efficiency(grating_angle, grating_name)
Returns the grating efficiency for a given grating angle.
The grating angle is the angle between the incoming light rays and the grating normal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
grating_angle |
deg
|
Grating angle. |
required |
grating_name |
GratingName
|
Grating name. This is equal to the grating frequency, i.e. grooves per mm. |
required |
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The grating efficiency. |
Source code in nirwals/physics/bandpass.py
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | |
telescope_throughput()
Return the telescope throughput.
The telescope throughput includes the mirror efficiency and the throughput of the telescope optics, but excludes the filter transmission, grating efficiency and detector efficiency.
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The telescope throughput. |
Source code in nirwals/physics/bandpass.py
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | |
throughput(configuration)
Calculate the throughput for a given configuration.
The throughput includes the following:
- The atmospheric transmission
- The mirror efficiency
- The fibre throughput
- The filter transmission
- The grating efficiency
- The detector quantum efficiency
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
configuration |
Configuration
|
The configuration. |
required |
Returns:
| Type | Description |
|---|---|
SpectralElement
|
The throughput. |
Source code in nirwals/physics/bandpass.py
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | |