DuncanLab / OpenMaze

OpenMaze 3D Experimental Design Software
https://openmaze.duncanlab.org
MIT License
14 stars 4 forks source link

Add goal and landmark info to output #60

Open SilicoBen opened 4 years ago

SilicoBen commented 4 years ago

I've been thinking about how to do this efficiently for a while. I think the best way is the following:

First Create two new output columns: "TrialGoals", & "TrialLandmarks". at the start of each trial (the first output line) goals and landmark #'s and position will be outputted in a dictionary formate to a single cell.

example: TrialGoals {1 : (x,y), 2: (x,y), ... )

where 1 is the # associated with the goal in the configuration file and (x,y) are it's coordinates in the scene. The same can be done for the Landmarks.

Second "TargetFound" in the output file should output the # of the goal when collected. Right now it's a binary (0 when no collision with goal happens and 1 when collision with goal happens) instead it should be 0 when no collision has occured and the number of the goal when it is collided with.