Galfenol-based devices for magnetic field sensing in harsh environments