if(!("discreteSpectrum"%in%class(M)))stop("object is not a discreteSpectrum decomposition")
timesIsATseries=FALSE
if(!is.null(start)){
if(is.null(deltat)||is.null(end))stop("if you supply start, you must also supply deltat and end");
n<-(end-start)%*%deltat
times<-start+seq(0,n)*deltat
timesIsATseries=TRUE
}
if(is.null(times)){
if(is.null(attr(M,"data")))stop("if you do not supply any time argument (times, or (start, end, deltat)), then object must have a valid data attribute")