python codes for extracting and analyzing 2AFC behavior data from XuLab