To get polarized pritions, you can do it the following way. First, the hydrogen hydrogen ground state has two levels that come from adding the proton and electron spins: The F=1 state which is 3-fold degenerate and the F=0 singlet state. So first, you start with H2 and dissociate it into atomic hydrogen and pass the atomic hydrogen through a nonuniform magnetic field. This spilts the F=0 and F=1 state into 4 components and since the electron magnetic moment is stronger, 2 of the 4 states are eliminated and the other passes through. However, what you have now is a beam with the electrons in the same spin direction, but the proton in different spin orientations, which is not what you want.
So, the next thing you do is pass the beam through a radio frequency "tansition unit" (which also has a magnetic field to keep the spins aligned) which flips the spins of the electron and proton so that now the protons are spin aligned and the electrons are not. The last thing you do is strip off the electrons and you are left with a polarized proton beam.