%% reconstructed paths
function bl_plot(pat, spill, mark)
    fprintf("go\n");
    if spill
        fs = load(strjoin(['/Volumes/home/test/calib/' pat '/clean/tracks/z001_t001.mat'], "")).tracks;
    else
        fs = load(strjoin(['/Volumes/home/test/calib/' pat '/tracks/z001_t001.mat'], "")).tracks;
    end
    U = [fs.u];
    X = [fs.x];
    
   
    
    
    % scatter(x(2,:)/150, u(1,:)/bulk_velocity(pat, spill, "do not!"), 5)
    scatter(X(2,:)/150, U(1,:)/168.739875)

    ylabel("$\frac{u}{U_B}$ velocity ($mm\ s^{-1}$)", "Interpreter", "latex")
    xlabel("$\frac{y}{h}$ (no units)", "Interpreter", "latex")
end

% %% jhu paths
% fs=load('/Volumes/home/array/tcf/rescaled/z001_t001.mat');
% 
% U = [fs.u];
% X = [fs.x];
% u_norm = sqrt(sum(U.^2,1));
% 
% slice = (10 < X(1,:) & X(1,:) < 310);
% 
% x = X(:,slice);
% u = U(:,slice);
% 
% hold on;
% scatter(x(2,:), u(1,:))
% hold off;
% legend("reconstruced", "from database")