“As the filmmakers were working, they would fire off emails to Keltner and to Paul Ekman, a pioneer in the study of emotions. The process helped create a movie that’s true to the underlying science when it shows things like how emotions tend to color Riley’s perception of the world.”