A sample CLI session


set initfile = "../data/init.dat.splat0"
set metfile = "../data/methast0.dat"

#############################################################
# set two model parameters
#############################################################
set ndim = 2

#############################################################
# set two component mixture
#############################################################
set nmix = 2
set L = 3
set tessdepth = 3
set minmc = 6
set nlb = 10
set nsteps = 200
set width = 0.1
set maxT = 1024.0
set mod = new SplatModel(ndim,nmix)
set hist = new Histogram1D(0.0,2.0,10.0,"attribute")

#############################################################
# Choose the Bayesian prior
#############################################################
set prior = new InitialMixturePrior(nmix,1.0,"../data/prior.dat.splat")
set sstat = new EnsembleStat[6]

#############################################################
# Choose type of spatial tile
#############################################################
set tile = new SquareTile()

#############################################################
# Choose the type of spatial integration
#############################################################
set intgr = new LegeIntegration(nlb, nlb)

#############################################################
# Choose the convergence method
#############################################################
set convrg = new CountConverge()

#############################################################
# Choose the tessellation
#############################################################
set tess = new QuadGrid(tile, -1.0, 2.0, -1.0, 2.0, tessdepth)

#############################################################
# Choose the input data
#############################################################
set ris = new RecordInputStream_Ascii("../data/splat.data.1");

#############################################################
# Populate the tile with data (no choice here...)
#############################################################
set dis = new DataTree(ris,hist,tess)

#############################################################
# choose the simulation method
#############################################################
set sim = new RunMultilevelSimulation(nsteps,L,minmc,maxT,width,nmix,ndim,sstat,tile,hist,mod,prior,intgr,convrg,tess,dis)

#############################################################
# Run with out user interaction (e.g. batch mode) Stand back!
#############################################################
sim->Run()



Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:11 2010 by doxygen