Construction and use of a miniature magnetometer for measurements of local fields in superconductors and magnetic materials.