function [ablank cblank ablank_er cblank_er] = ...
    acs_loadMQblanks(filenameBlanka_noheader, filenameBlankc_noheader)

CInput = importdata(filenameBlankc_noheader);
AInput = importdata(filenameBlanka_noheader);

[~,n] = size(AInput);
nlambdas = n/2;

ablank = nanmedian(AInput(:,nlambdas+1:nlambdas*2));
ablank_er = std(AInput(:,nlambdas+1:nlambdas*2));

cblank = nanmedian(CInput(:,1:nlambdas));
cblank_er = std(CInput(:,1:nlambdas));

end
