Measurements of magnetic materials