Reference
Model
Model(x, *, weights=None, name='dirbe', gauss_quad_degree=50, extrapolate=False, ephemeris='builtin')
Main interface to ZodiPy.
Initialize a zodiacal light model.
PARAMETER | DESCRIPTION |
---|---|
x |
Wavelength or frequency. If
TYPE:
|
weights |
Bandpass weights corresponding the the frequencies/wavelengths in
TYPE:
|
name |
Zodiacal light model to use. See the docs for list of available models. Defaults to 'dirbe'.
TYPE:
|
gauss_quad_degree |
Order of the Gaussian-legendre quadrature representing the number of discrete points along each line-of-sight. Default is 50 points.
TYPE:
|
extrapolate |
If
TYPE:
|
ephemeris |
Ephemeris used in Astropy's
TYPE:
|
Source code in zodipy/model.py
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 |
|
evaluate
evaluate(skycoord, *, obspos='earth', return_comps=False, nprocesses=1)
Return the simulated zodiacal light.
The zodiacal light is simulated for all sky coordinates present in the skycoord
argument.
If an obstime and obspos value is not provided for each coordinate value, all coordinates
are assumed to be observed at an instant from the same position.
PARAMETER | DESCRIPTION |
---|---|
skycoord |
TYPE:
|
obspos |
The heliocentric ecliptic position of the observer, or a string representing an
observer supported by the
TYPE:
|
return_comps |
If
TYPE:
|
nprocesses |
Number of cores to use. If
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
emission
|
Simulated zodiacal light [MJy/sr].
TYPE:
|
Source code in zodipy/model.py
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 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 |
|
get_parameters
get_parameters()
Return a dictionary containing the zodiacal light model parameters.
RETURNS | DESCRIPTION |
---|---|
parameters
|
Zodiacal light model parameter dict.
TYPE:
|
Source code in zodipy/model.py
301 302 303 304 305 306 307 |
|
update_parameters
update_parameters(parameters)
Update the zodiacal light model parameters from a parameter dictionary.
The structure of the input dictionary must match that of the output of the get_parameters
method.
PARAMETER | DESCRIPTION |
---|---|
parameters |
Zodiacal light model parameter dict.
TYPE:
|
Source code in zodipy/model.py
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 |
|
grid_number_density
grid_number_density(x, y, z, obstime, model='dirbe', ephemeris='builtin')
Return the component-wise tabulated densities of the zodiacal components for a given grid.
PARAMETER | DESCRIPTION |
---|---|
x |
x-coordinates of a cartesian mesh grid.
TYPE:
|
y |
y-coordinates of a cartesian mesh grid.
TYPE:
|
z |
z-coordinates of a cartesian mesh grid.
TYPE:
|
obstime |
Time of observation. Required to compute the Earth position.
TYPE:
|
model |
String representing a built-in model or an explicit instance of a
TYPE:
|
ephemeris |
Solar system ephemeris to use. Default is 'builtin'.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
number_density_grid
|
The tabulated zodiacal component densities.
TYPE:
|
Source code in zodipy/number_density.py
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 |
|