diff --git a/CHANGES.rst b/CHANGES.rst new file mode 100644 index 0000000..7f69aa2 --- /dev/null +++ b/CHANGES.rst @@ -0,0 +1,4 @@ +0.5 (unreleased) +================ + +- initial release diff --git a/docs/dust_extinction/extinguish.rst b/docs/dust_extinction/extinguish.rst index dd72d87..0cea4f5 100644 --- a/docs/dust_extinction/extinguish.rst +++ b/docs/dust_extinction/extinguish.rst @@ -7,8 +7,9 @@ factor to multiple (extinguish) or divide (unextinguish) a spectrum by to add or remove the effects of dust, respectively. Extinguish is also often called reddening. Extinguishing a spectrum often -reddens the flux, but not always (e.g, on the short wavelength side of the -2175 A bump. So extinguish is the more generic term. +reddens the flux, but sometimes 'bluens' the flux +(e.g, on the short wavelength side of the 2175 A bump). +So extinguish is the more generic term. Example: Extinguish a Blackbody =============================== diff --git a/docs/dust_extinction/model_flavors.rst b/docs/dust_extinction/model_flavors.rst index 281321f..18b0d6c 100644 --- a/docs/dust_extinction/model_flavors.rst +++ b/docs/dust_extinction/model_flavors.rst @@ -10,6 +10,8 @@ Average models These models provide averages from the literature with the ability to interpolate between the observed data points. + For the Milky Way, one of the R(V) dependent models with R(V) = 3.1 + (see next section) are often used for the Milky Way 'average'. Models are provided for the Magellanic Clouds from Gordon et al. (2003). Models for the Milky Way still to be added (both UV/optical/NIR and IR). @@ -19,7 +21,8 @@ Average models import matplotlib.pyplot as plt import astropy.units as u - from dust_extinction.dust_extinction import (G03_SMCBar, + from dust_extinction.dust_extinction import (F99, + G03_SMCBar, G03_LMCAvg, G03_LMC2) @@ -27,7 +30,10 @@ Average models # generate the curves and plot them x = np.arange(0.3,10.0,0.1)/u.micron - + + ext_model = F99() + ax.plot(x,ext_model(x),label='MW Average (F99 w/ $R(V)=3.1$)') + ext_model = G03_SMCBar() ax.plot(x,ext_model(x),label='G03 SMCBar') diff --git a/setup.cfg b/setup.cfg index 692a49a..d3bafe2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -48,7 +48,7 @@ edit_on_github = False github_project = astropy/astropy install_requires = astropy scipy # version should be PEP440 compatible (http://www.python.org/dev/peps/pep-0440) -version = 0.1.dev +version = 0.5.dev [entry_points] astropy-package-template-example = packagename.example_mod:main