ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

Global params (vs script params) #485

Closed sf-issues closed 11 years ago

sf-issues commented 12 years ago

Converted from SourceForge issue 3537800, submitted by jlstevens Submit Date: 2012-06-25 14:49 GMT

Topographica has global_params which allow parameters to be specified with the -p flag. This naming is incorrect as global_params only behave properly within .ty scripts and global parameters that are relevant to the whole simulator (eg. OpenMP settings) would be very useful. The existing global_params should therefore be called script_params and global_params should be implemented with the following properties:

- At the commandline any option '-x=y' should set global parameter 'x' to value 'y'

If this were implemented it would be possible to specify options in the topographica.rc file instead of having to specify these options each time Topographica is invoke. All the current options should be implemented this way (ie. -i,-v,-d,-l,-g, --pdb, -c, -p, -a) with the exception of -h/--help.