Even and odd atomic nuclei beta decay. Also, the nuclear spin is integer for all even-"A" nuclei and non-integer (half-integer) for all odd-"A" nuclei. The neutron–proton ratio is not the only factor affecting nuclear stability. Adding neutrons to isotopes can vary their nuclear spins and nuclear shapes, causing differences in neutron capture cross-sections and gamma spectroscopy and nuclear magnetic resonance properties. If too many or too few neutrons are present with regard to the nuclear binding energy optimum, the nucleus becomes unstable and subject to certain types of nuclear decay. Unstable nuclides with a nonoptimal number of neutrons or protons decay by beta decay (including
Neutron 1942) and the first nuclear weapon (Trinity, 1945). Free neutrons, while not directly ionizing atoms, cause ionizing radiation. As such they can be a biological hazard, depending upon dose. A small natural "neutron background" flux of free neutrons exists on Earth, caused by cosmic ray showers, and by the natural radioactivity of spontaneously fissionable elements in the Earth's crust. Dedicated neutron sources like neutron generators, research reactors and spallation sources produce free neutrons for use in irradiation and in neutron scattering experiments. Atomic nuclei are formed by a number of protons, Z the atomic number, and a number of neutrons,