R/gaus.R

"gaus" <- 
function(numax, deltanu, nu, nupower=1)
{
  arg <- (2 * (nu - numax))/deltanu
  if(nupower!=1)
    res<-nu^nupower * exp( - log(2) * ((2 * (nu - numax))/deltanu)^2)
  else 
    res<-exp( - log(2) * ((2 * (nu - numax))/deltanu)^2)
  
  res
}

Try the TIMP package in your browser

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

TIMP documentation built on May 2, 2019, 5:55 p.m.