updated peak center. allow user to set faster scan rate