A synaptic temperature sensor for body cooling