diff --git a/lib/+artoa/+controller/+edit/+timeOfArrival/plotSoundsourceToaFromGps.m b/lib/+artoa/+controller/+edit/+timeOfArrival/plotSoundsourceToaFromGps.m index c02223a1ffad113f1a29cabea67e19e5dbc7c1e5..dd1bbfab6e8fc9eb9bd45a570726bb3b9631b56f 100644 --- a/lib/+artoa/+controller/+edit/+timeOfArrival/plotSoundsourceToaFromGps.m +++ b/lib/+artoa/+controller/+edit/+timeOfArrival/plotSoundsourceToaFromGps.m @@ -89,6 +89,10 @@ for o = 1:length(fnames) selection = (gpsDates > soundSourceEnd); gpsDates(selection) = NaN; predictedToas(selection) = NaN; + % remove gps dates before deployment of soundsource + selection = (gpsDates < soundSourceBegin); + gpsDates(selection) = NaN; + predictedToas(selection) = NaN; clear selection; artoaGui.editTimeOfArrival.scatterToaFromGps.(fnames{o}) = scatter( ...