Den seneste udvikling i neurovidenskab værktøjer, som kombinerer genetik og optik, betegnes "optogenetics", muliggør kontrol over neurale kredsløb aktivitet med et hidtil uset niveau af rumlige og tidsmæssige opløsning. Her giver vi en protokol for integration in vivo-optagelse med optogenetic manipulation af genetisk definerede delmængder af præfrontale cortex og subicular pyramideneuroner.