- The quality of the performance
- Whether nearby people were standing
So how does this relate to audiences? Each person can represent a spin, and their neighbors influence their probability of standing or sitting. Someone could stand independent of their neighbors for an exceptional performance, so that's the external field. Temperature relates to how willing people are to switch between standing and sitting.
I wrote up a version of the algorithm in Python, which you can try for yourself – I added a bunch of comments, so I hope it's not too opaque. Here are the results for a performance not quite up to snuff: