00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #include "Component/ModelOptionDef.H"
00039 #include "Image/Dims.H"
00040 #include "Image/Point2D.H"
00041 #include "Image/Range.H"
00042 #include "Util/SimTime.H"
00043
00044 #include "ModelNeuron/Location.H"
00045 #include "ModelNeuron/SimStructureOpts.H"
00046
00047
00048 const ModelOptionCateg MOC_SC = {
00049 MOC_SORTPRI_2, "Superior Colliculus related options" };
00050
00051 extern const ModelOptionDef OPT_SCSimTimeStep =
00052 { MODOPT_ARG(SimTime), "SCSimTimeStep", &MOC_SC, OPTEXP_CORE,
00053 "The time step used for SC simulations",
00054 "asc-timestep",'\0',"<SimTime>", ".001s"};
00055
00056 extern const ModelOptionDef OPT_SCDims =
00057 { MODOPT_ARG(Dims), "SCDims", &MOC_SC, OPTEXP_CORE,
00058 "Dimensions of the SC model, 0x0 to set to the "
00059 "dimensions of the input.", "asc-dims", '\0', "<w>x<h>", "0x0"};
00060
00061 extern const ModelOptionDef OPT_SCBUInpGain =
00062 { MODOPT_ARG(float), "SCBUInpGain", &MOC_SC, OPTEXP_CORE,
00063 "Bu input gain", "asc-bugain", '\0', "", "1.0" };
00064
00065 extern const ModelOptionDef OPT_SCTDInpGain =
00066 { MODOPT_ARG(float), "SCTDInpGain", &MOC_SC, OPTEXP_CORE,
00067 "Td input gain", "asc-tdgain", '\0', "", "1.0" };
00068
00069 extern const ModelOptionDef OPT_SCInpGain =
00070 { MODOPT_ARG(float), "SCInpGain", &MOC_SC, OPTEXP_CORE,
00071 "input gain", "asc-gain", '\0', "", "1.0" };
00072
00073 extern const ModelOptionDef OPT_SCSaveResults =
00074 { MODOPT_FLAG, "SCSaveResults", &MOC_SC, OPTEXP_CORE,
00075 "save our module results","asc-save-results",'\0', "<bool>", "false" };
00076
00077 extern const ModelOptionDef OPT_SCProbe =
00078 { MODOPT_ARG(Location), "SCProbe", &MOC_SC, OPTEXP_CORE,
00079 "N-D location of probe. -1 can be used along one dimension to display "
00080 "multiple modules",
00081 "asc-probe", '\0', "<d1>,<d2>,<d3>,...", "-1,-1,-1" };
00082
00083 extern const ModelOptionDef OPT_SCPlotLength =
00084 { MODOPT_ARG(uint), "SCPlotLength", &MOC_SC, OPTEXP_CORE,
00085 "length in ms to display plot. Default, 0, grows foverever. ",
00086 "asc-plot-length", '\0', "<uint>", "0" };
00087
00088 extern const ModelOptionDef OPT_SC2DPlotDepth =
00089 { MODOPT_ARG(uint), "SC2DPlotDepth", &MOC_SC, OPTEXP_CORE,
00090 "depth to recurse into strctures",
00091 "asc-2dplot-depth", '\0', "<uint>", "0" };
00092
00093 extern const ModelOptionDef OPT_SCProbeDepth =
00094 { MODOPT_ARG(uint), "SCProbeDepth", &MOC_SC, OPTEXP_CORE,
00095 "depth to recurse into modules at probe location",
00096 "asc-probe-depth", '\0', "<uint>", "1" };
00097
00098 extern const ModelOptionDef OPT_SCUseDisplayOutput =
00099 { MODOPT_FLAG, "SCUseDisplayOutput", &MOC_SC, OPTEXP_CORE,
00100 "Should we use the firing rate output (false), or the "
00101 "display output (true) which is usually one of the underlying "
00102 "variables in the difference equations. ",
00103 "use-asc-displayoutput", '\0', "<bool>", "false" };
00104
00105 extern const ModelOptionDef OPT_SCDisplayRange =
00106 { MODOPT_ARG(Range<double>), "SCDisplayRange", &MOC_SC, OPTEXP_CORE,
00107 "sets the display range. Use both less than 0 to normalize at every time step, both"
00108 "zero to set to min/max over time, and any other values to fix the range", "asc-displayrange",
00109 '\0', "<min>-<max>", "0.0-0.0" };
00110
00111 extern const ModelOptionDef OPT_SCDisplayDecoder =
00112 { MODOPT_ARG_STRING, "SCDisplayDecoder", &MOC_SC, OPTEXP_CORE,
00113 "The display decoder to use in plotting if desired, None otherwise",
00114 "asc-decoder-type", '\0', "<None, AlphaDecoder, RectDecoder, ExpDecoder, HistDecoder>", "None" };
00115
00116 extern const ModelOptionDef OPT_SC2DPlotSize =
00117 { MODOPT_ARG(Dims), "SC2DPlotSize", &MOC_SC, OPTEXP_CORE,
00118 "Dimensions of the SC model save/plot figures",
00119 "asc-2dplot-dims", '\0', "<w>x<h>", "320x240"};
00120
00121
00122 const ModelOptionDef OPT_SCSCType =
00123 { MODOPT_ARG_STRING, "SCSCType", &MOC_SC, OPTEXP_CORE,
00124 "Type of superior colliculus model to use.",
00125 "asc-sc-type", '\0', "<SC, LowpassSC, NeuralFieldSC, SCTracker>", "LowpassSC" };
00126
00127
00128 const ModelOptionDef OPT_SCNFType =
00129 { MODOPT_ARG_STRING, "SCNFType", &MOC_SC, OPTEXP_CORE,
00130 "Type of neural field to use.",
00131 "asc-nf-type", '\0', "<NFNbumpCS, NF1bumpCS, NFNbumpDoG, NF0bumpDoG, WeakWTA, WeakBlob, SCs, SCi>",
00132 "NF1bumpCS" };
00133
00134
00135
00136
00137
00138