Description Usage Arguments Value Examples
This function takes the wavelength and flux vectors of a normalized spectrum and uses cubic-spline interpolation to adjust the flux vector to match a new wavelength solution.
1 | wave_match(wvl1, flx1, targetwvl)
|
wvl1 |
vector of wavelengths for the spectrum to be interpolated |
flx1 |
vector of normalized flux for the spectrum to be interpolated |
targetwvl |
vector of wavelengths to interpolate to. |
A vector of normalized flux for the spectrum at the targetwvl wavelengths. Only flux for targetwvl wavelengths that are contained by the wvl1 wavelengths are returned.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.