Peggy is a Lecturer in the Institute for Adaptive and Neural Computation, School of Informatics, Edinburgh, where she is the PI of a group working on computational neuroscience and Bayesian models of perception and cognition. She has extensively written on the area with papers in 
Current Biology
, PLOS Computational Biology, 
Neural Computation and 
Journal of Vision, among others.