Since every isotope that spews gamma or X rays or charged particles does so in a unique way--an atomic fingerprint, of sorts--the color and intensity of the flash tells the detector which isotope is present and in what quantity.
FORBES: Stopping Porta-Nukes