Package pysynphot :: Module extinction
[hide private]
[frames] | no frames]

Module extinction

source code

Classes [hide private]
  _ExtinctionLaw
  Gal1
  Gal2
  Gal3
  Smc
  Lmc
  Xgal
  Extinction
extinction = Extinction(extinction in magnitudes, 'gal1|smc|lmc reddening laws)
Functions [hide private]
 
_buildDefaultWaveset() source code
 
_interp(xdata, x, y) source code
 
_computeSeaton(x) source code
 
_computeLMC(x) source code
 
_computeSMC(x) source code
 
_computeXgal(x) source code
 
factory(redlaw, *args, **kwargs) source code
Variables [hide private]
  _seatonx = array([ 0. , 1. , 1.1, 1.2, 1.3, 1.4, 1.5, 1...
  _seatone = array([ 0. , 1.36, 1.64, 1.84, 2.04, 2.24, 2...
  _lmcx = array([ 0. , 0.29, 0.45, 0.8 , 1.11, 1.43, 1.83])
  _lmce = array([ 0. , 0.16, 0.38, 0.87, 1.5 , 2.32, 3.1 ])
  _smcx = array([ 0. , 0.29, 0.45, 0.8 , 1.11, 1.43,...
  _smce = array([ 0. , 0.16, 0.38, 0.87, 1.5 , 2.32,...
  _waveset = array([ 20. , 19.92113104, 19.8425731 , .....
  _seaton = array([ 71.17 , 70.48569062, 69.807759 , ......
  _lmc = array([ 54.10590134, 53.73888694, 53.3746187 , ..., ...
  _smc = array([ 23.74 , 23.74 , 23.74 , ..., ...
  _xgal = array([ 94.7214 , 93.42724771, 92.15200482, ..., ...
  reddeningClasses = {'gal1': <class 'pysynphot.extinction.Gal1'...
Variables Details [hide private]

_seatonx

Value:
array([ 0. ,  1. ,  1.1,  1.2,  1.3,  1.4,  1.5,  1.6,  1.7,  1.8,  1.\
9,
        2. ,  2.1,  2.2,  2.3,  2.4,  2.5,  2.6,  2.7])

_seatone

Value:
array([ 0.  ,  1.36,  1.64,  1.84,  2.04,  2.24,  2.44,  2.66,  2.88,
        3.14,  3.36,  3.56,  3.77,  3.96,  4.15,  4.26,  4.4 ,  4.52, \
 4.64])

_smcx

Value:
array([  0.  ,   0.29,   0.45,   0.8 ,   1.11,   1.43,   1.82,   2.35,
         2.7 ,   3.22,   3.34,   3.46,   3.6 ,   3.75,   3.92,   4.09,
         4.28,   4.5 ,   4.73,   5.  ,   5.24,   5.38,   5.52,   5.7 ,
         5.88,   6.07,   6.27,   6.48,   6.72,   6.98,   7.23,   7.52,
         7.84,  10.  ])

_smce

Value:
array([  0.  ,   0.16,   0.38,   0.87,   1.5 ,   2.32,   3.1 ,   4.1 ,
         4.77,   5.39,   5.75,   6.1 ,   6.25,   6.59,   7.01,   7.34,
         7.63,   8.4 ,   8.95,   9.48,   9.86,  10.  ,  10.27,  10.81,
        11.11,  11.59,  12.16,  12.38,  12.94,  13.9 ,  14.61,  15.62,
        16.64,  23.74])

_waveset

Value:
array([ 20.        ,  19.92113104,  19.8425731 , ...,   0.38766684,
         0.3861381 ,   0.38476739])

_seaton

Value:
array([ 71.17      ,  70.48569062,  69.807759  , ...,   0.20438839,
         0.20277958,   0.20134248])

_lmc

Value:
array([ 54.10590134,  53.73888694,  53.3746187 , ...,   0.29429191,
         0.29218989,   0.29030516])

_smc

Value:
array([ 23.74      ,  23.74      ,  23.74      , ...,   0.29429191,
         0.29218989,   0.29030516])

_xgal

Value:
array([ 94.7214    ,  93.42724771,  92.15200482, ...,   1.35077283,
         1.34571793,   1.34118379])

reddeningClasses

Value:
{'gal1': <class 'pysynphot.extinction.Gal1'>,
 'gal2': <class 'pysynphot.extinction.Gal2'>,
 'gal3': <class 'pysynphot.extinction.Gal3'>,
 'lmc': <class 'pysynphot.extinction.Lmc'>,
 'smc': <class 'pysynphot.extinction.Smc'>,
 'xgal': <class 'pysynphot.extinction.Xgal'>}