GergelyTuri / tFC-rig

trace fear conditioning rig
GNU General Public License v3.0
0 stars 0 forks source link

enhancing flexibility by adding a trial class #50

Open GergelyTuri opened 1 month ago

GergelyTuri commented 1 month ago

The training/recording functionality should be a bit more flexible. This could be done creating a trial_type class where new trial patterns could be defined then any of these defined trial type could be called from the main program through the GUI.

Currently we have the following trial types:

These should be the "base types" where the two different tones are played and the reward is available throughout the whole trial (no airpuff tho). we should add on something like "puffed_type1" and "puffed_type2" where the tone is on, reward is on but there is the 5x airpuff at the end of the trial. this could facilitate the analysis as well, because the trials where the airpuff actually happend could be easier to grab.

Other trial types which should be implemented: "delayed_reward" when the reward is only available at the end of the tone following a delay (i.e. trace) interval. ideally this delay can be changed within a certain reange (e.g. 1-10 s following the end of the tone.)

GergelyTuri commented 2 weeks ago

we also need a trial type where the tone is on but there is no reward at all.