Text this: Magnetically dependent photovoltages in permalloy films and gratings