Acoustic emission triangulation of disturbances and quenches in a superconductor and a superconducting magnet