Use of thin semiconductor position sensitive detectors in magnetic spectrographs