You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Run `foraging.bonsai` in `dynamic-foraging-task\src\workflows` to start Bonsai.
67
67
- Activate the `conda` environment created above
68
68
- Run `python dynamic-foraging-task\src\foraging_gui\Foraging.py` to start the GUI.
69
-
- The GUI will leave a log file at `~\Documents\foraging_gui_logs\` named by the tower and date/time.
69
+
- The GUI will leave a log file at `~\Documents\foraging_gui_logs\` named by the tower and date/time.
70
70
71
71
#### Automatic Updates
72
72
To configure automatic updates consistent with the [update protocol](https://github.com/AllenNeuralDynamics/aind-behavior-blog/wiki/Software-Update-Procedures),please use TaskScheduler to automatically run three batch files at specified times of the week ([instructions](https://github.com/AllenNeuralDynamics/aind-behavior-blog/wiki/Configure-Automatic-Updates))
@@ -87,7 +87,7 @@ To configure automatic updates consistent with the [update protocol](https://git
87
87
### Menu
88
88
89
89
#### File
90
-
-**New**: Clear the training parameters
90
+
-**New**: Clear the training parameters
91
91
-**Open**: Open an existing session and visualization
92
92
-**Save**: Save the current session as a JSON file (or optionally a .mat file)
93
93
-**Exit**: Close the GUI
@@ -99,7 +99,7 @@ To configure automatic updates consistent with the [update protocol](https://git
99
99
-**Snipping**: Open the snipping tools
100
100
-**Simulation**: When one of the simulation methods is selected, it will run the simulation when the **Start** button is pressed.
101
101
-**Win-stay lose-switch**: Foragers employ a win-stay-lose-switch strategy.
102
-
-**Random**: Foragers randomly select a choice.
102
+
-**Random**: Foragers randomly select a choice.
103
103
#### Visualization
104
104
-**Lick distribution**: Open the lick analysis dialogue to display lick-related statistics.
105
105
-**Time distribution**: Display the simulated distribution of block length/ITI time/Delay time.
@@ -118,7 +118,7 @@ To configure automatic updates consistent with the [update protocol](https://git
118
118
-**Open behavior folder**: Open the folder to save the current behavior JSON file
119
119
#### Settings
120
120
-**Open setting folder**: Open the default settings folder. It is in `Documents\ForagingSettings` by default. There are different JSON files to save different default parameters.
121
-
-**ForagingSettings.json**: General settings.
121
+
-**ForagingSettings.json**: General settings.
122
122
-**default_saveFolder**: The default save location. The folder structure is `default_saveFolder\Rig\Animal\Animal_year-month-day_hour-minute-second\`. There are five additional folders: `EphysFolder`, `HarpFolder`, `PhotometryFolder`, `TrainingFolder`, and `VideoFolder` for saving different data sources. Default location: `Documents`
123
123
-**current_box**: To define the rig name.
124
124
-**show_log_info_in_console**: If exists and equals `True`, a copy of log info is sent to the console.
@@ -148,9 +148,9 @@ To configure automatic updates consistent with the [update protocol](https://git
148
148
-**Task**: There are currently five tasks supported (**Coupled Baiting**;**Uncoupled Baiting**;**Coupled Without Baiting**;**Uncoupled Without Baiting**;**RewardN**).
149
149
-**Tower**: The current tower (can be set by **current_box** in **ForagingSettings.json**).
150
150
-**Auto Train**: Click the button to open the [Automatic Training](#automatic-training) dialog, see below
151
-
151
+
152
152
#### Trial-related parameters
153
-
-**training stage**: Select the training stage parameters. These parameters can be saved in **TrainingStagePar.json** through "**Save training**" button. They are task dependent.
153
+
-**training stage**: Select the training stage parameters. These parameters can be saved in **TrainingStagePar.json** through "**Save training**" button. They are task dependent.
154
154
-**randomness**: There are **exponential** and **even distribution** available. This random generator will be applied to generate **Block length**/**ITI**/**Delay period**.
155
155
-**L(s)**: The left valve open time. The **L(s)** and **L(ul)** are dependent on each other, and the relationship is determined by the water calibration.
156
156
-**L(ul)**: The estimated water volume given by the left valve under the **L(s)**.
@@ -185,9 +185,9 @@ To configure automatic updates consistent with the [update protocol](https://git
185
185
-**stop ignores>**: The session will stop if the number of ignored trials surpasses the limit.
186
186
-**max trial**: The session will stop if the number of trials surpasses the limit.
187
187
-**max time (min)**: The session will stop if the running time of the session surpasses the limit.
188
-
-**auto (Advanced block)**: The block change will also be dependent on the choice of the animal when it is turned on. It's allowed to go to the next block only when there are consecutive points (**points in a row**) that cross the threshold (**switch thr**).
189
-
-**switch thr**: The block switch threshold (only active after the auto is turned on).
190
-
-**points in a row**: Consecutive points that cross the threshold (only active after the auto is turned on).
188
+
-**auto (Advanced block)**: The block change will also be dependent on the choice of the animal when it is turned on. It's allowed to go to the next block only when there are consecutive points (**points in a row**) that cross the threshold (**switch thr**).
189
+
-**switch thr**: The block switch threshold (only active after the auto is turned on).
190
+
-**points in a row**: Consecutive points that cross the threshold (only active after the auto is turned on).
191
191
-**Next block**: It will jump to the next block when it is clicked.
192
192
#### Weight and water
193
193
-**Weight before (g)**: Enter the mouse weight before starting training.
@@ -200,7 +200,7 @@ To configure automatic updates consistent with the [update protocol](https://git
200
200
-**Current right block**: current trial number of the current right block/length of current right block.
201
201
-**Responded trial**: number of responded trial/number of total trial. A trial is regarded as a responded trial if the animal licks one of the lick sprouts within the response time (**RT**).
202
202
-**Reward trial**: number of reward trials/number of total trial.
203
-
-**Total Reward**: Estimated total reward (excluding the manually given reward).
203
+
-**Total Reward**: Estimated total reward (excluding the manually given reward).
204
204
-**Left choice rewarded**:
205
205
-**Right choice rewarded**:
206
206
-**Early licking**: Statistics of early licking rate in different behavior epochs.
@@ -212,7 +212,7 @@ To configure automatic updates consistent with the [update protocol](https://git
212
212
> If the dialog fails to open, check AWS credentials at `~/.aws/credentials`. See [instructions](#for-initial-installation)
213
213
214
214
2. For the first session of a new mouse:
215
-
1.~~So far, the automatic training system cannot handle our previous Stage 1.1 --> Stage 1.2.<br>~~
215
+
1.~~So far, the automatic training system cannot handle our previous Stage 1.1 --> Stage 1.2.<br>~~
216
216
2. Confirm that this is a new mouse in the automatic training system<br>
3. In "Curriculum Manager", select a desired curriculum for the new mouse. Double-check `curriculum_name`, `curriculum_version`, and `curriculum_schema_version`.<br>
@@ -239,7 +239,7 @@ To configure automatic updates consistent with the [update protocol](https://git
239
239
6.~~Note that you can still modify some items in `Training parameters`, such as `Valve open time`, `Give left/right`, and `Next block`.~~
240
240
7. You could now close the Auto Training dialog.
241
241
8. Start the training as usual.
242
-
242
+
243
243
5. Override parameters (not recommended)
244
244
1. Once `Apply and lock` is pressed, you can press it again to unlock the parameters and override any of them. But in this case, the automatic training mode is disengaged, and this session is considered "off-curriculum". <br>
0 commit comments