
Insert new wavelength values into a spectrum interpolating the corresponding spectral data values.
insert_spct_hinges(spct, hinges = NULL, byref = FALSE)
a generic_spct or a derived type with variables w.length
and
other numeric variables.
an object of class "generic_spct"
numeric vector of wavelengths (nm) at which the s.irrad should be inserted by interpolation, no interpolation is indicated by an empty vector (numeric(0))
logical indicating if new object will be created by reference or by copy of spct
insert_spct_hinges(sun.spct, c(399.99,400.00,699.99,700.00))
insert_spct_hinges(sun.spct,
c(199.99,200.00,399.50,399.99,400.00,699.99,
700.00,799.99,1000.00))
Run the code above in your browser using DataLab