A method for the measurement of the cross-sections for the production of radioisotopes by charged particles from a cyclotron