Thermodynamics and signatures of criticality in a network of neurons — scientific article