function [ CircBuff ] = FillCircBuff(S,n_samples)
%This function allocates a structure full of circular buffers, one for
% each element of S.  Buffers are n_samples long and full of NaN's to
% start.
names = fieldnames(S);

for i = 1:length(names)
    CircBuff.(names{i}) = NaN(1,n_samples);
end

