Home projects GMNP
Personal tools

GMNP sources

The matlab sources of the General Model of Negative Priming are available here.

The sources are given as a zip-file.

README:

 
The present bundle of matlab functions is a complete implementation of the
General Model for Negative Priming first described in (Schrobsdorff2009).
The call of GMNP_simulator starts a run according to the parameters given
in user_control.m. Those parameters can be adjusted more or less freely
but they will certainly affect the model behavior without checking for
meaningful behavior.

For a visual control of the current parameter setting, sophisticated
plotting routines are present. Nevertheless for time and memory efficiency
plotting can be turned off allowing for longer statistical analyses.

For a reproduction of the Simulations presented in the Frontiers Paper,
copy the example files to user_control.m
or change line 41 of GMNP_simulator.m to read the appropriate user control
file.
 
--------------------------------------------------------------------------

 
Files:
./GMNP_simulator.m
    The main simulation file to call from a matlab-prompt
./define.m
    Several typedef-like definitions for better readability of the code
./user_control.m
    Parameter file for controlling model behavior
./user_control_example_1.m
    Parameter file for simulation #1
./user_control_example_2.m
    Parameter file for  simulation #2
./user_control_example_3.m
    Parameter file for simulation #3
./user_control_example_4.m
    Parameter file for simulation #4

./paradigms/paradigm_flanker_frings.m
./paradigms/paradigm_location_kabisch.m
./paradigms/paradigm_voicekey.m
./paradigms/paradigm_word_picture.m
    Definitions of paradigms are given in the appropriate file.
./paradigms/compute_action_input_flanker_frings.m
./paradigms/compute_action_input_location_kabisch.m
./paradigms/compute_action_input_voicekey.m
./paradigms/compute_action_input_word_picture.m
    The mapping from semantic layer to actions is defined in the
    compute_action functions individually for each paradigm
./paradigms/stimuli_short.txt
./paradigms/stimuli.txt
    Two different stimulus files that just differ by length. Use the short
    one for testing purposes and the long one for good statistics.
       
./plotting/plot_flanker_frings.m
./plotting/plot_location_kabisch_all.m
./plotting/plot_voicekey_all.m
./plotting/plot_word_picture_all.m
    Each paradigm implements ist own plotting function to display the
    involved layers only.
./plotting/plotcolor.m
./plotting/plotword.m
./plotting/plotshape.m
./plotting/plotlocation.m
./plotting/plotbinding.m
./plotting/plotsemantic.m
./plotting/plotepisode.m
./plotting/plotaction.m
./plotting/plotsynapse_act.m
./plotting/plotsynapse_sem.m
./plotting/plotretrieval_act.m
    Single plot routines to display a certain layer. In this way it is
    possible to call the layer into an individual figure for an export and
    the like via a click on the layer title in the overview plot