Batch Settings
The batch settings are a way for the SoNIA to get all of the settings automatically instead of having the user enter them manually like they usually would. There are four or five different parts to a typical batch settings file. Each part starts with
SettingsClass= then each one part has a different name. If you want to change the batch settings file, you can do it this way. You open up sonia in a normal session and when you click on 'Create Layout..' or 'Apply Layout' or 'View Options' you should notice that there is a button in all of the dialog boxes that say 'Save Settings'. Then you can just copy and paste the new information. This is the easiest way.
I will go through what they all mean briefly.
First you have the Layout settings. These are the numbers and fields you would see when you clicked on the
Create Layout button after you have loaded your file. Here is an example from batch_settings.txt
SettingsClass=sonia.settings.LayoutSettings
SLICE_AGGREGATION=Avg of i->j ties
SLICE_DELTA=1.0
SLICE_DURATION=1.0
SLICE_START=1.0
SLICE_END=2.0
ANIMATE_TYPE=cosine animation
LAYOUT_TYPE=MultiComp KK Layout
Next you have the browsing settings. These are the fields you would see at the bottom of the layout frame. Here is an example
SettingsClass=sonia.settings.BrowsingSettings
render offset=0
num interpolated frames=10
render duration=1.0
frame delay=30
Next are the apply settings. These are the fields and settings you would normally see after you have clicked on the
Apply Layout button. Here is an example
SettingsClass=sonia.settings.ApplySettings
min epsilon=1.0
LAYOUT_REPAINT_N=0
cool factor=0.25
ALG_PROP_KEYS=springConst,min epsilon,optimum dist,cool factor,comp connect value,max passes
max passes=500.0
optimum dist=5.0
Algorithm_Name=Multiple component Kamada-Kawai layout
RECENTER_TRANSFORM=recenter after layout
STARTING_COORDS=use random positions
RESCALE_LAYOUT=none
springConst=1.0
TRANSFORM_ISOLATE_EXCLUDE=false
ISOLATE_POSITION=ignore isolates
comp connect value=0.0
STOP_ON_ERROR=false
APPLY_REMAINING=true
Next you see the graphics settings. Here you see the fields and options that you would normally see when you clicked on the
View Options.. button. Here is an example:
SettingsClass=sonia.settings.GraphicsSettings
arc transparency=0.5
show stats=true
AntiAlias graphics=true
arrow style=none
arc width factor=0.10
arc labels=layout weights
ghost previous slice=false
layout height=740
hide arcs=none
hide nodes=none
node transparency=0.5
layout width=1260
node label cutoff=0.0
show node labels=labels
node scale factor=1.0
flash new events=0.0
Last you could have the movie settings if you wanted to export a movie in batch mode. It is not currently included in the batch_settings.txt because we aren't using it at this point, but here is an example if you wanted to add it yourself.
SettingsClass=sonia.settings.MovieSettings
OUTPUT_PATH=/myDir/myMovieName.mov
FILE_TYPE=mov
FORMAT_PARAMS=CODEC
CODEC=Animation
--
GregAllan - 31 Jul 2007