# HG changeset patch # User tom@acousticscale.org # Date 1288897475 0 # Node ID 2fca84ddd8e33fc9f5700e626b3f92bfd6e14ab0 # Parent bc75da283e83e26d32952afea2ddd4e2da3a2545 Created wiki page through web user interface. diff -r bc75da283e83 -r 2fca84ddd8e3 wiki/ConfigurationFileFormat.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wiki/ConfigurationFileFormat.wiki Thu Nov 04 19:04:35 2010 +0000 @@ -0,0 +1,52 @@ +#summary Format for aimcconfig files + +The AIM-C configuration file is a simple text file in the format parsed by [http://code.jellycan.com/simpleini/ simpleini]. + +The file describes a tree of modules, with the output of each module feeding into zero, one or more other modules. Each node of the tree is an _instance_ of an AIM-C module. Each node can have a different set of parameters. + +== Example == + +{{{ +module1.name = FileInput +module1.id = file_input +module1.child1 = PZFCFilterbank + +module2.name = PZFCFilterbank +module2.id = pzfc +module2.child1 = NAP + +module3.name = NAP +module3.id = hcl +module3.child1 = Strobes + +module4.name = Strobes +module4.id = local_max +module4.parameters = <<.name and module.id}}} are required for each module. If {{{module.parameters and module.child}}} are specified they will be used. If no parameters are specified for a given module, the defaults are used. Any parameters given for a module override the defaults built in to the module. + +=== Module names and identifiers === +Each module specified in the tree is an instance of an AIM-C module with a specific set of parameters. By convention each instance of a module is identified by a [http://en.wikipedia.org/wiki/CamelCase camel case] name, and each module is identified by a lowercase name with underscores. + +=== Module parameters === + +All AIM-C modules can have a default set of parameters. These can be overridden by parameters in the {{{module.parameters}}} section of the configuration file. + +