enforce ordering of baseline-US-CS-baseline transitions in plots
enforce ordering of baseline-US-CS-baseline transitions in plots

Due to slow rise or fall times, we may see frames that are classified
as US brightness level in between CS and baseline.  We can ignore
those and just use the meaningful transitions for plotting:

- baseline to US
- US to CS
- US to off
- CS to off

informatics-isi-edu/fishspy,informatics-isi-edu/fishspy,informatics-isi-edu/fishspy,informatics-isi-edu/fishspy