function outString = stimTypeColumn(headerData)
% create a string that is the bias current/voltage for a given episode
    if nargin == 0
        outString = 'Stim Type';
        return
    end

    outString = '';
    
    for i = 1:numel(headerData.ampEnable)
        if headerData.ampStimEnable{i}
            switch 1
                case headerData.ampPulseEnable{i}
                    outString = [outString ', Pulse'];
                case headerData.ampTrainEnable{i}
                    outString = [outString ', Train'];
                case headerData.ampRampEnable{i}
                    outString = [outString ', Ramp'];
                case headerData.ampSineEnable{i}
                    outString = [outString ', Sine'];
                case headerData.ampPspEnable{i}
                    outString = [outString ', PSP'];
                case headerData.ampStepEnable{i}
                    switch 1
                        case headerData.ampStep1Enable{i} && headerData.ampStep2Enable{i} && headerData.ampStep3Enable{i} && headerData.ampStep2Amplitude{i} == 0
                            outString = [outString ', 2-Pulse'];
                        case ~headerData.ampStep2Enable{i}
                            if headerData.ampStep1Stop{i} - headerData.ampStep1Start{i} < 500
                                outString = [outString ', Short Step'];
                            else
                                outString = [outString ', Long Step'];
                            end
                        otherwise
                            outString = [outString ', Step'];
                    end
                otherwise
                    outString = [outString ', None'];
            end
        else
            outString = [outString ', None'];
        end                    
    end
    
    if numel(outString) > 0
        outString = outString(3:end);
    else
        outString = 'No amps on';
    end