import(DEoptim)
export(basisMatrix, basisSpline, bkg.analyt, calc.Gr, 
       covMatrix.DI, covMatrixSE, DMatrix, do.fit, 
	   do.fit.banks, do.iter, Dx, get.bkg, get.deriv, 
	   get.hess, get.hess.numerically, get.posterior, 
	   golden.search, grad.descent, guide,  fplot.Gr,
	   invert.order, logLikelihoodBkg, 
	   logLikelihoodBkgAnalyt, logLikelihoodGrCorr, 
	   logLikelihoodGrGauss, logLikelihoodSignal, 
	   logLikelihoodSignalAnalyt, logPosterior, 
	   logPosteriorAnalyt, logPriorBkgRGP, 
	   logPriorBkgRSmooth, logPriorF, 
	   logProbabilityBkgR, mPlot.results,
	   mPlot.results.banks, mPlot.sqa, 
	   noise.cov.matrix.r, noise.cov.r, 
	   noise.cov.vector.r, prepare.banks.data, 
	   read.data, read.sqa, read.sqb, 
	   regularized.cholesky, row.outer.product, 
	   set.control, set.data, set.DEoptim.control, 
	   set.Gr, set.lambda, set.SB, set.sigma, sineFT, 
	   sineFT.matrix, step1, step2, step3, step5, 
	   step6, step7, step8, step9, step10, test.signal, 
	   trim.data, write.fit.results, write.fix, 
     fix.merge, sqa.split,
     whatIsSpecified,
     progressInit, Progress, setProgress, withProgress,
     runUI)
     
importFrom(reshape2, melt)
importFrom(grid, grid.newpage, grid.layout, 
           pushViewport, viewport, unit)
importFrom(ggplot2, ggplot, aes, geom_line, 
           geom_ribbon, scale_color_manual, 
           scale_y_continuous, xlab, ylab, 
           ggtitle, geom_point, theme,
           xlim, ylim, 
           element_blank)
importFrom("graphics", "lines", "par", "plot")
importFrom("stats", "pnorm", "rexp", "rnorm", "runif", "splinefun")
importFrom("utils", "as.relistable", "read.table", "relist", "tail",
           "write.table")           
import(shiny, methods)