
nh = 2  		# number of horizontal frame								     
nw = 2			# number of vertical frame	
# size of subfilms						     
width = 512							     
height = 512					     
# size of the film						     
numByte = width * nw						     
numLine = height * nh						     						     
# init parameters						     
param = initparams(nh,nw)

param[1]['mn'] = 0
param[1]['p0'] = None
param[1]['scale'] = "log"
param[1]['pfile'] = None
param[1]['filter_name'] = None
param[1]['filter_opts'] = [10, 10, 2, 2]
param[1]['frsp'] = 0.0
param[1]['mx'] = 0
param[1]['cd'] = 0
param[1]['tdir'] = None
param[1]['ftype'] = gadget
param[1]['mode'] = "m"
param[1]['time'] = nb.atime
param[1]['x0'] = None
param[1]['size'] = (150, 150)
param[1]['obs'] = None
param[1]['view'] = "xy"

param[2]['mn'] = 0
param[2]['p0'] = None
param[2]['scale'] = "log"
param[2]['pfile'] = None
param[2]['filter_name'] = None
param[2]['filter_opts'] = [5, 5, 2, 2]
param[2]['frsp'] = 0.0
param[2]['mx'] = 0
param[2]['cd'] = 0
param[2]['tdir'] = None
param[2]['ftype'] = gadget
param[2]['mode'] = "m"
param[2]['time'] = nb.atime
param[2]['x0'] = None
param[2]['size'] = (150, 150)
param[2]['obs'] = None
param[2]['select'] = gas
param[2]['view'] = "xy"

param[3]['mn'] = -0.2
param[3]['p0'] = None
param[3]['scale'] = "lin"
param[3]['pfile'] = None
param[3]['filter_name'] = "gaussian"
param[3]['filter_opts'] = [5, 5]
param[3]['frsp'] = 0.0
param[3]['mx'] = 0.2
param[3]['cd'] = 0
param[3]['tdir'] = None
param[3]['ftype'] = gadget
param[3]['mode'] = "vr"
param[3]['time'] = nb.atime
param[3]['x0'] = None
param[3]['size'] = (150, 150)
param[3]['obs'] = None
param[3]['view'] = "xz"

param[4]['mn'] = 0
param[4]['p0'] = None
param[4]['scale'] = "log"
param[4]['pfile'] = None
param[4]['filter_name'] = None
param[4]['filter_opts'] = [10, 10]
param[4]['frsp'] = 0.0
param[4]['mx'] = 0
param[4]['cd'] = 0
param[4]['tdir'] = None
param[4]['ftype'] = gadget
param[4]['mode'] = "m"
param[4]['exec'] = nb = nb.selectc(nb.z()>0)
param[4]['time'] = nb.atime
param[4]['x0'] = None
param[4]['size'] = (150, 150)
param[4]['obs'] = None
param[4]['view'] = "xz"
