settings dictionary

updated transform and event_peakdet to be part of the settings{}.

#16683064947992