An analysis of the effects of thermal demagnetization on magnetic carriers