Interrogation of the neural mechanisms by which male and female rats assess aversive and mixed valence stimuli in learning and performing a task