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
P-nuclei reactions of type (p,γ) or by removing neutrons from a nucleus through sequences of photodisintegrations of type (γ,n). Under conditions encountered in astrophysical environments it is difficult to obtain p-nuclei through proton captures because the Coulomb barrier of a nucleus increases with increasing proton number. A proton requires more energy to be incorporated ("captured") into an atomic nucleus when the Coulomb barrier is higher. The available average energy of the protons is determined by the temperature of the stellar plasma. Increasing the temperature, however, also speeds up the (γ,p) photodisintegrations which counteract the (p,γ) captures. The only alternative avoiding this