Dale_interp | R Documentation |
Interpolates between non-computed values of AGNfrac and alpha_SF. This is useful when creating a generic generative model of a galaxy SED, where it can harm the sampling to have strictly discretised values for variables we wish to sample over.
Dale_interp(alpha_SF = 1.5, AGNfrac = 0, type = "NormTot", Dale = NULL)
alpha_SF |
Numeric scalar; desired interpolated alpha slope of the star forming population. Lower values mean hotter dust. |
AGNfrac |
Numeric scalar; desired interpolated AGN fraction linearly mixed in energy over the range 5-20 microns (see Dale 2014). |
type |
Character scalar; type of Dale template to interpolate. One of: Orig, Msol, NormTot, NormAGN, NormSFR (see |
Dale |
Pass in the Dale dust library directly. Must be one of |
This function does a simple 2D bilinear interpolation to create templates for values of AGNfrac and alpha_SF that are not precisely provided by Dale
.
Two column data.frame containing the wavelength (Wave) and the interpolated luminosity values (Aspec) in the same units as the input Dale dust library (from argument Dale).
Aaron Robotham
Dale et al, 2014, ApJ, 784, 11
Dale
, interp_param
#Example output showing also the 4 surrounding interpolation points used.
temp=Dale_interp(1.53125, 0.025)
plot(temp, log='x', type='l', col='red')
lines(Dale_Orig$Wave, Dale_Msol$Aspec[[1]][24,])
lines(Dale_Orig$Wave, Dale_Msol$Aspec[[1]][25,])
lines(Dale_Orig$Wave, Dale_Msol$Aspec[[2]][24,])
lines(Dale_Orig$Wave, Dale_Msol$Aspec[[2]][25,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.