Convert sc_vs_stimtype script to track.scstim() method
Replace track.scstim with track.scsistim
Replace 'weightedmean' with 'weighted mean', add 'weighted median'