Modified script to sweep freq only

sweep_rate_and_trap_study now sweeps either the rate or the rate+current