R/speclib_fwhm.R

setReplaceMethod("fwhm", signature(object = "Speclib", value = "numeric"), 
                 function(object, value)
{
  object@fwhm <- value
  return(object)
}
)

setMethod("fwhm", signature(object = "Speclib"), 
          function(object)
  return(object@fwhm)
)

Try the hsdar package in your browser

Any scripts or data that you put into this service are public.

hsdar documentation built on March 18, 2022, 6:35 p.m.