function referenceStruct = getReferenceStructure()
% Creates an empty reference structure
referenceStruct = struct( ...
    'referenceChannels', [], ...
    'evaluationChannels', [], ...
    'rereferencedChannels', [], ...
    'detrendChannels', [], ...
    'detrendType', [], ...
    'detrendCutoff', [], ...
    'detrendStepSize', [], ...
    'detrendCommand', [], ...
    'channelLocations', [], ...
    'channelInformation', [], ...
    'maxReferenceIterations', [], ...
    'actualReferenceIterations', [], ...
    'badChannels', getBadChannelStructure(), ...
    'interpolatedChannels', getBadChannelStructure(), ...
    'badSignalsUninterpolated', [], ...
    'referenceSignalOriginal', [], ...
    'referenceSignal', [], ...
    'noisyStatisticsOriginal', [], ...
    'noisyStatisticsBeforeInterpolation', [], ...
    'noisyStatistics', [], ...
    'reportingLevel', [] ...
    );