"With some treats and positive reinforcement, the cats tolerated the hat very well and allowed us to record their brain ...