| 1 |
.. _pysynphot-api: |
| 2 |
|
| 3 |
************* |
| 4 |
Reference/API |
| 5 |
************* |
| 6 |
|
| 7 |
|
| 8 |
``pysynphot.binning`` |
| 9 |
===================== |
| 10 |
|
| 11 |
.. currentmodule:: pysynphot.binning |
| 12 |
|
| 13 |
.. automodule:: pysynphot.binning |
| 14 |
:members: |
| 15 |
|
| 16 |
|
| 17 |
``pysynphot.Cache`` |
| 18 |
=================== |
| 19 |
|
| 20 |
.. currentmodule:: pysynphot.Cache |
| 21 |
|
| 22 |
.. automodule:: pysynphot.Cache |
| 23 |
:members: |
| 24 |
|
| 25 |
|
| 26 |
``pysynphot.catalog`` |
| 27 |
===================== |
| 28 |
|
| 29 |
.. currentmodule:: pysynphot.catalog |
| 30 |
|
| 31 |
.. automodule:: pysynphot.catalog |
| 32 |
|
| 33 |
.. inheritance-diagram:: pysynphot.catalog.Icat |
| 34 |
:parts: 1 |
| 35 |
|
| 36 |
.. autoclass:: pysynphot.catalog.Icat |
| 37 |
:show-inheritance: |
| 38 |
:members: |
| 39 |
|
| 40 |
|
| 41 |
``pysynphot.exceptions`` |
| 42 |
======================== |
| 43 |
|
| 44 |
.. currentmodule:: pysynphot.exceptions |
| 45 |
|
| 46 |
.. automodule:: pysynphot.exceptions |
| 47 |
|
| 48 |
.. inheritance-diagram:: pysynphot.exceptions |
| 49 |
:parts: 1 |
| 50 |
|
| 51 |
.. autoclass:: pysynphot.exceptions.PysynphotError |
| 52 |
:show-inheritance: |
| 53 |
|
| 54 |
.. autoclass:: pysynphot.exceptions.TableFormatError |
| 55 |
:show-inheritance: |
| 56 |
|
| 57 |
.. autoclass:: pysynphot.exceptions.DuplicateWavelength |
| 58 |
:show-inheritance: |
| 59 |
|
| 60 |
.. autoclass:: pysynphot.exceptions.ZeroWavelength |
| 61 |
:show-inheritance: |
| 62 |
|
| 63 |
.. autoclass:: pysynphot.exceptions.UnsortedWavelength |
| 64 |
:show-inheritance: |
| 65 |
|
| 66 |
.. autoclass:: pysynphot.exceptions.BadRow |
| 67 |
:show-inheritance: |
| 68 |
|
| 69 |
.. autoclass:: pysynphot.exceptions.OverlapError |
| 70 |
:show-inheritance: |
| 71 |
|
| 72 |
.. autoclass:: pysynphot.exceptions.PartialOverlap |
| 73 |
:show-inheritance: |
| 74 |
|
| 75 |
.. autoclass:: pysynphot.exceptions.DisjointError |
| 76 |
:show-inheritance: |
| 77 |
|
| 78 |
.. autoclass:: pysynphot.exceptions.GraphtabError |
| 79 |
:show-inheritance: |
| 80 |
|
| 81 |
.. autoclass:: pysynphot.exceptions.UnusedKeyword |
| 82 |
:show-inheritance: |
| 83 |
|
| 84 |
.. autoclass:: pysynphot.exceptions.IncompleteObsmode |
| 85 |
:show-inheritance: |
| 86 |
|
| 87 |
.. autoclass:: pysynphot.exceptions.AmbiguousObsmode |
| 88 |
:show-inheritance: |
| 89 |
|
| 90 |
.. autoclass:: pysynphot.exceptions.UndefinedBinset |
| 91 |
:show-inheritance: |
| 92 |
|
| 93 |
.. autoclass:: pysynphot.exceptions.ExtrapolationNotAllowed |
| 94 |
:show-inheritance: |
| 95 |
|
| 96 |
.. autoclass:: pysynphot.exceptions.ParameterOutOfBounds |
| 97 |
:show-inheritance: |
| 98 |
|
| 99 |
.. autoclass:: pysynphot.exceptions.IncompatibleSources |
| 100 |
:show-inheritance: |
| 101 |
|
| 102 |
|
| 103 |
``pysynphot.extinction`` |
| 104 |
======================== |
| 105 |
|
| 106 |
.. currentmodule:: pysynphot.extinction |
| 107 |
|
| 108 |
.. automodule:: pysynphot.extinction |
| 109 |
|
| 110 |
.. inheritance-diagram:: pysynphot.extinction.DeprecatedExtinction |
| 111 |
:parts: 1 |
| 112 |
|
| 113 |
.. autoclass:: pysynphot.extinction.DeprecatedExtinction |
| 114 |
:show-inheritance: |
| 115 |
|
| 116 |
.. autoclass:: pysynphot.extinction.Gal1 |
| 117 |
.. autoclass:: pysynphot.extinction.Smc |
| 118 |
.. autoclass:: pysynphot.extinction.Lmc |
| 119 |
.. autoclass:: pysynphot.extinction.Xgal |
| 120 |
|
| 121 |
|
| 122 |
``pysynphot.locations`` |
| 123 |
======================= |
| 124 |
|
| 125 |
.. currentmodule:: pysynphot.locations |
| 126 |
|
| 127 |
.. automodule:: pysynphot.locations |
| 128 |
:members: |
| 129 |
|
| 130 |
|
| 131 |
``pysynphot.obsbandpass`` |
| 132 |
========================= |
| 133 |
|
| 134 |
.. currentmodule:: pysynphot.obsbandpass |
| 135 |
|
| 136 |
.. automodule:: pysynphot.obsbandpass |
| 137 |
:members: ObsBandpass |
| 138 |
|
| 139 |
.. inheritance-diagram:: pysynphot.obsbandpass.ObsModeBandpass |
| 140 |
:parts: 1 |
| 141 |
|
| 142 |
.. autoclass:: pysynphot.obsbandpass.ObsModeBandpass |
| 143 |
:show-inheritance: |
| 144 |
:members: |
| 145 |
:exclude-members: fwhm |
| 146 |
|
| 147 |
.. autofunction:: pysynphot.obsbandpass.pixel_range |
| 148 |
.. autofunction:: pysynphot.obsbandpass.wave_range |
| 149 |
|
| 150 |
|
| 151 |
``pysynphot.observationmode`` |
| 152 |
============================= |
| 153 |
|
| 154 |
.. currentmodule:: pysynphot.observationmode |
| 155 |
|
| 156 |
.. automodule:: pysynphot.observationmode |
| 157 |
|
| 158 |
.. inheritance-diagram:: pysynphot.observationmode.ObservationMode |
| 159 |
:parts: 1 |
| 160 |
|
| 161 |
.. autoclass:: pysynphot.observationmode.BaseObservationMode |
| 162 |
:members: |
| 163 |
|
| 164 |
.. autoclass:: pysynphot.observationmode.ObservationMode |
| 165 |
:show-inheritance: |
| 166 |
:members: |
| 167 |
:exclude-members: Sensitivity |
| 168 |
|
| 169 |
|
| 170 |
``pysynphot.observation`` |
| 171 |
========================= |
| 172 |
|
| 173 |
.. currentmodule:: pysynphot.observation |
| 174 |
|
| 175 |
.. automodule:: pysynphot.observation |
| 176 |
|
| 177 |
.. inheritance-diagram:: pysynphot.observation.Observation |
| 178 |
:parts: 1 |
| 179 |
|
| 180 |
.. autoclass:: pysynphot.observation.Observation |
| 181 |
:show-inheritance: |
| 182 |
:members: |
| 183 |
:exclude-members: redshift, binflux |
| 184 |
|
| 185 |
.. autofunction:: pysynphot.observation.check_overlap |
| 186 |
.. autofunction:: pysynphot.observation.validate_overlap |
| 187 |
|
| 188 |
|
| 189 |
``pysynphot.planck`` |
| 190 |
==================== |
| 191 |
|
| 192 |
.. currentmodule:: pysynphot.planck |
| 193 |
|
| 194 |
.. automodule:: pysynphot.planck |
| 195 |
:members: |
| 196 |
|
| 197 |
|
| 198 |
``pysynphot.reddening`` |
| 199 |
======================= |
| 200 |
|
| 201 |
.. currentmodule:: pysynphot.reddening |
| 202 |
|
| 203 |
.. automodule:: pysynphot.reddening |
| 204 |
:members: print_red_laws, Extinction |
| 205 |
|
| 206 |
.. inheritance-diagram:: pysynphot.reddening.RedLaw |
| 207 |
:parts: 1 |
| 208 |
|
| 209 |
.. autoclass:: pysynphot.reddening.CustomRedLaw |
| 210 |
:members: |
| 211 |
|
| 212 |
.. autoclass:: pysynphot.reddening.RedLaw |
| 213 |
:show-inheritance: |
| 214 |
:members: |
| 215 |
|
| 216 |
|
| 217 |
``pysynphot.refs`` |
| 218 |
================== |
| 219 |
|
| 220 |
.. currentmodule:: pysynphot.refs |
| 221 |
|
| 222 |
.. automodule:: pysynphot.refs |
| 223 |
:members: getref, showref, setref, set_default_waveset |
| 224 |
|
| 225 |
|
| 226 |
``pysynphot.renorm`` |
| 227 |
==================== |
| 228 |
|
| 229 |
.. currentmodule:: pysynphot.renorm |
| 230 |
|
| 231 |
.. automodule:: pysynphot.renorm |
| 232 |
:members: |
| 233 |
|
| 234 |
|
| 235 |
.. _pysynphot-api-spark: |
| 236 |
|
| 237 |
``pysynphot.spark`` |
| 238 |
=================== |
| 239 |
|
| 240 |
SPARK 0.6.1 is obtained from John Aycock (1998-2000). |
| 241 |
It is the underlying engine used by :ref:`pysynphot-api-spparser`. |
| 242 |
|
| 243 |
|
| 244 |
``pysynphot.spectrum`` |
| 245 |
====================== |
| 246 |
|
| 247 |
.. currentmodule:: pysynphot.spectrum |
| 248 |
|
| 249 |
.. automodule:: pysynphot.spectrum |
| 250 |
|
| 251 |
.. inheritance-diagram:: pysynphot.spectrum |
| 252 |
:parts: 1 |
| 253 |
|
| 254 |
.. autoclass:: pysynphot.spectrum.Integrator |
| 255 |
:members: |
| 256 |
|
| 257 |
.. autoclass:: pysynphot.spectrum.SourceSpectrum |
| 258 |
:show-inheritance: |
| 259 |
:members: |
| 260 |
:exclude-members: setMagnitude, effstim |
| 261 |
|
| 262 |
.. autoclass:: pysynphot.spectrum.TabularSourceSpectrum |
| 263 |
:show-inheritance: |
| 264 |
:members: |
| 265 |
:exclude-members: ToInternal |
| 266 |
|
| 267 |
.. autoclass:: pysynphot.spectrum.ArraySourceSpectrum |
| 268 |
:show-inheritance: |
| 269 |
:members: |
| 270 |
|
| 271 |
.. autoclass:: pysynphot.spectrum.FileSourceSpectrum |
| 272 |
:show-inheritance: |
| 273 |
:members: |
| 274 |
|
| 275 |
.. autoclass:: pysynphot.spectrum.AnalyticSpectrum |
| 276 |
:show-inheritance: |
| 277 |
:members: |
| 278 |
|
| 279 |
.. autoclass:: pysynphot.spectrum.GaussianSource |
| 280 |
:show-inheritance: |
| 281 |
:members: |
| 282 |
|
| 283 |
.. autoclass:: pysynphot.spectrum.FlatSpectrum |
| 284 |
:show-inheritance: |
| 285 |
:members: |
| 286 |
|
| 287 |
.. autoclass:: pysynphot.spectrum.Powerlaw |
| 288 |
:show-inheritance: |
| 289 |
:members: |
| 290 |
|
| 291 |
.. autoclass:: pysynphot.spectrum.BlackBody |
| 292 |
:show-inheritance: |
| 293 |
:members: |
| 294 |
|
| 295 |
.. autoclass:: pysynphot.spectrum.CompositeSourceSpectrum |
| 296 |
:show-inheritance: |
| 297 |
:members: |
| 298 |
|
| 299 |
.. autoclass:: pysynphot.spectrum.SpectralElement |
| 300 |
:show-inheritance: |
| 301 |
:members: |
| 302 |
:exclude-members: fwhm, ToInternal |
| 303 |
|
| 304 |
.. autoclass:: pysynphot.spectrum.TabularSpectralElement |
| 305 |
:show-inheritance: |
| 306 |
:members: |
| 307 |
:exclude-members: ToInternal, getHeaderKeywords |
| 308 |
|
| 309 |
.. autoclass:: pysynphot.spectrum.ArraySpectralElement |
| 310 |
:show-inheritance: |
| 311 |
:members: |
| 312 |
|
| 313 |
.. autoclass:: pysynphot.spectrum.FileSpectralElement |
| 314 |
:show-inheritance: |
| 315 |
:members: |
| 316 |
|
| 317 |
.. autoclass:: pysynphot.spectrum.InterpolatedSpectralElement |
| 318 |
:show-inheritance: |
| 319 |
:members: |
| 320 |
|
| 321 |
.. autoclass:: pysynphot.spectrum.UniformTransmission |
| 322 |
:show-inheritance: |
| 323 |
:members: |
| 324 |
:exclude-members: check_overlap |
| 325 |
|
| 326 |
.. autoclass:: pysynphot.spectrum.Box |
| 327 |
:show-inheritance: |
| 328 |
:members: |
| 329 |
|
| 330 |
.. autoclass:: pysynphot.spectrum.ThermalSpectralElement |
| 331 |
:show-inheritance: |
| 332 |
:members: |
| 333 |
:exclude-members: getHeaderKeywords |
| 334 |
|
| 335 |
.. autoclass:: pysynphot.spectrum.CompositeSpectralElement |
| 336 |
:show-inheritance: |
| 337 |
:members: |
| 338 |
:exclude-members: wave |
| 339 |
|
| 340 |
.. autofunction:: pysynphot.spectrum.MergeWaveSets |
| 341 |
.. autofunction:: pysynphot.spectrum.trimSpectrum |
| 342 |
|
| 343 |
|
| 344 |
.. _pysynphot-api-spparser: |
| 345 |
|
| 346 |
``pysynphot.spparser`` |
| 347 |
====================== |
| 348 |
|
| 349 |
This module implements the :ref:`pysynphot-language-parser`. |
| 350 |
It uses :ref:`pysynphot-api-spark`. |
| 351 |
|
| 352 |
|
| 353 |
``pysynphot.tables`` |
| 354 |
==================== |
| 355 |
|
| 356 |
.. currentmodule:: pysynphot.tables |
| 357 |
|
| 358 |
.. automodule:: pysynphot.tables |
| 359 |
|
| 360 |
.. autoclass:: pysynphot.tables.GraphTable |
| 361 |
:members: |
| 362 |
:exclude-members: GetNextNode |
| 363 |
|
| 364 |
.. autoclass:: pysynphot.tables.CompTable |
| 365 |
:members: |
| 366 |
|
| 367 |
|
| 368 |
``pysynphot.units`` |
| 369 |
=================== |
| 370 |
|
| 371 |
.. currentmodule:: pysynphot.units |
| 372 |
|
| 373 |
.. automodule:: pysynphot.units |
| 374 |
:members: Units |
| 375 |
|
| 376 |
.. inheritance-diagram:: pysynphot.units |
| 377 |
:parts: 1 |
| 378 |
:private-bases: |
| 379 |
|
| 380 |
.. autoclass:: pysynphot.units.BaseUnit |
| 381 |
:members: |
| 382 |
|
| 383 |
.. autoclass:: pysynphot.units.WaveUnits |
| 384 |
:show-inheritance: |
| 385 |
:members: |
| 386 |
:exclude-members: ToAngstrom |
| 387 |
|
| 388 |
.. autoclass:: pysynphot.units.Angstrom |
| 389 |
:show-inheritance: |
| 390 |
:members: |
| 391 |
|
| 392 |
.. autoclass:: pysynphot.units.Hz |
| 393 |
:show-inheritance: |
| 394 |
:members: |
| 395 |
|
| 396 |
.. autoclass:: pysynphot.units.InverseMicron |
| 397 |
:show-inheritance: |
| 398 |
:members: |
| 399 |
|
| 400 |
.. autoclass:: pysynphot.units._MetricWavelength |
| 401 |
:show-inheritance: |
| 402 |
:members: |
| 403 |
|
| 404 |
.. autoclass:: pysynphot.units.Nm |
| 405 |
:show-inheritance: |
| 406 |
:members: |
| 407 |
|
| 408 |
.. autoclass:: pysynphot.units.Micron |
| 409 |
:show-inheritance: |
| 410 |
:members: |
| 411 |
|
| 412 |
.. autoclass:: pysynphot.units.Mm |
| 413 |
:show-inheritance: |
| 414 |
:members: |
| 415 |
|
| 416 |
.. autoclass:: pysynphot.units.Cm |
| 417 |
:show-inheritance: |
| 418 |
:members: |
| 419 |
|
| 420 |
.. autoclass:: pysynphot.units.Meter |
| 421 |
:show-inheritance: |
| 422 |
:members: |
| 423 |
|
| 424 |
.. autoclass:: pysynphot.units.FluxUnits |
| 425 |
:show-inheritance: |
| 426 |
:members: |
| 427 |
:exclude-members: ToPhotlam |
| 428 |
|
| 429 |
.. autoclass:: pysynphot.units.Photlam |
| 430 |
:show-inheritance: |
| 431 |
:members: |
| 432 |
:exclude-members: unitResponse |
| 433 |
|
| 434 |
.. autoclass:: pysynphot.units.Flam |
| 435 |
:show-inheritance: |
| 436 |
:members: |
| 437 |
:exclude-members: unitResponse |
| 438 |
|
| 439 |
.. autoclass:: pysynphot.units.Photnu |
| 440 |
:show-inheritance: |
| 441 |
:members: |
| 442 |
:exclude-members: unitResponse |
| 443 |
|
| 444 |
.. autoclass:: pysynphot.units.Fnu |
| 445 |
:show-inheritance: |
| 446 |
:members: |
| 447 |
:exclude-members: unitResponse |
| 448 |
|
| 449 |
.. autoclass:: pysynphot.units.Jy |
| 450 |
:show-inheritance: |
| 451 |
:members: |
| 452 |
:exclude-members: unitResponse |
| 453 |
|
| 454 |
.. autoclass:: pysynphot.units.mJy |
| 455 |
:show-inheritance: |
| 456 |
:members: |
| 457 |
:exclude-members: unitResponse |
| 458 |
|
| 459 |
.. autoclass:: pysynphot.units.muJy |
| 460 |
:show-inheritance: |
| 461 |
:members: |
| 462 |
:exclude-members: unitResponse |
| 463 |
|
| 464 |
.. autoclass:: pysynphot.units.nJy |
| 465 |
:show-inheritance: |
| 466 |
:members: |
| 467 |
:exclude-members: unitResponse |
| 468 |
|
| 469 |
.. autoclass:: pysynphot.units.Counts |
| 470 |
:show-inheritance: |
| 471 |
:members: |
| 472 |
:exclude-members: unitResponse |
| 473 |
|
| 474 |
.. autoclass:: pysynphot.units.LogFluxUnits |
| 475 |
:show-inheritance: |
| 476 |
:members: |
| 477 |
|
| 478 |
.. autoclass:: pysynphot.units.ABMag |
| 479 |
:show-inheritance: |
| 480 |
:members: |
| 481 |
:exclude-members: unitResponse |
| 482 |
|
| 483 |
.. autoclass:: pysynphot.units.STMag |
| 484 |
:show-inheritance: |
| 485 |
:members: |
| 486 |
:exclude-members: unitResponse |
| 487 |
|
| 488 |
.. autoclass:: pysynphot.units.OBMag |
| 489 |
:show-inheritance: |
| 490 |
:members: |
| 491 |
:exclude-members: unitResponse |
| 492 |
|
| 493 |
.. autoclass:: pysynphot.units.VegaMag |
| 494 |
:show-inheritance: |
| 495 |
:members: |
| 496 |
:exclude-members: unitResponse |
| 497 |
|
| 498 |
|
| 499 |
``pysynphot.wavetable`` |
| 500 |
======================= |
| 501 |
|
| 502 |
.. currentmodule:: pysynphot.wavetable |
| 503 |
|
| 504 |
.. automodule:: pysynphot.wavetable |
| 505 |
|
| 506 |
.. autoclass:: pysynphot.wavetable.Wavetable |
| 507 |
:members: |