A new diagnostic to separate line emission from star formation, shocks, and AGNs simultaneously in IFU data. (28th February 2019)