The sample is introduced into the intense radiation field of a nuclear reactor. The sample is thus bombarded with neutrons, causing the elements to form radioactive isotopes. The radioactive emissions and radioactive decay paths for each element are well known. Using this information it is possible to study spectra of the emissions of the radioactive sample, and determine the concentrations of the elements within it.
Some elements form isotopes that have very short half-lives, and so cannot be measured using this method. Others have exceptionally long half-lives, and so can be measured, but have to be measured over long periods.