Control tools for rapid broadband nanomechanical spectroscopy using scanning probe microscope