General formulation of thermal, field, and photoinduced electron emission | Synapse