154359Srobertooptions(digits=4)
254359Srobertofile2 <- "etf_summary"
354359Srobertoetf <- scan(file1, list(day=0, sec=0, offset=0, stab=0))
454359Srobertor <- lsfit(etf$sec, etf$offset)
554359Srobertocount<-length(etf$sec)
654359Srobertomean<-r$coef[[1]]
754359Srobertostd<-sqrt(var(r$residuals))
854359Srobertoslope<-r$coef[[2]] * 1000
954359Srobertocat("\n", file=file2 , append=TRUE, fill=FALSE, sep="")
1054359Srobertocat(file1, "\n", file=file2, append=TRUE, fill=FALSE, sep="")
1154359Srobertocat("etf1 ",  count, ", T ", mean, " ns, R ", slope, " ps/s, std ", std, " us\n", file=file2, append=TRUE, fill=FALSE, sep="")
1254359Srobertostr <- paste("eps/", file1, ".eps", sep="")
1354359Srobertopostscript(str,  ,  ,  , 5, pointsize=18)
1454359Srobertopar(mgp=c(1, 0, 0), tck=0.03, mar=c(2, 2, 1, 1))
1554359Srobertoplot(etf$sec, etf$offset, type="l", xlab=paste("MJD", etf$day, "Time (s)"), ylab="External Offset (ns)", ylim=c(-400, 400))
16