EXP programs: Difference between revisions

From biophysics
Jump to navigation Jump to search
Created page with "==Introduction== EXP programs are"
 
Line 1: Line 1:
==Introduction==
==Introduction==
EXP programs are
EXP programs are MATLAB programs for each lab based on the EXP framework. The EXP framework is a MATLAB toolbox developed by [[Ruurd Lof]]. The framework is a collection of classes and functions that are the basis for Lab programs.
 
==Standard Lab program==
 
An example of a Lab program is the TestLabProgram. All programs have the same basic structure:
 
Six classes (for the TestLab starting with TL_) are created in a fixed order and 
 
    programPar      = TL_programParameters(version);
    hardwareSystems = TL_hardwareSystems(programPar);                     
    experiment      = TL_experiment(programPar);           
    trialRecordings = TL_recordingsHandler(programPar, experiment, hardwareSystems);   
    player          = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment);
    guihandler      = TL_guiHandler(player, programPar, experiment, hardwareSystems);
   
    TL_Gui(guihandler);

Revision as of 12:05, 23 April 2025

Introduction

EXP programs are MATLAB programs for each lab based on the EXP framework. The EXP framework is a MATLAB toolbox developed by Ruurd Lof. The framework is a collection of classes and functions that are the basis for Lab programs.

Standard Lab program

An example of a Lab program is the TestLabProgram. All programs have the same basic structure:

Six classes (for the TestLab starting with TL_) are created in a fixed order and


   programPar      = TL_programParameters(version);
   hardwareSystems = TL_hardwareSystems(programPar);                      
   experiment      = TL_experiment(programPar);             
   trialRecordings = TL_recordingsHandler(programPar, experiment, hardwareSystems);     
   player          = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment);
   guihandler      = TL_guiHandler(player, programPar, experiment, hardwareSystems);
   
   TL_Gui(guihandler);