Picosecond control of coherent magnetisation dynamics in permalloy thin films by picosecond magnetic field pulse shaping