PrepareEncoderGraphOptions() публичный статический Метод

public static PrepareEncoderGraphOptions ( string title, EncoderStruct, es, bool neuromuscularProfileDo, bool translate, bool debug, bool crossValidate ) : EncoderGraphROptions
title string
es EncoderStruct,
neuromuscularProfileDo bool
translate bool
debug bool
crossValidate bool
Результат EncoderGraphROptions
Пример #1
0
    protected override void writeOptionsFile()
    {
        optionsFile = Path.GetTempPath() + "Roptions.txt";

        string scriptOptions = UtilEncoder.PrepareEncoderGraphOptions(
            "none",                     //title
            es,
            false,                      //neuromuscularProfile
            false,                      //translate (graphs)
            Debug,
            false                       //crossValidate (unactive on capture at the moment)
            ).ToString();

        TextWriter writer = File.CreateText(optionsFile);

        writer.Write(scriptOptions);
        writer.Flush();
        writer.Close();
        ((IDisposable)writer).Dispose();
    }
Пример #2
0
    protected override void writeOptionsFile()
    {
        optionsFile = Path.GetTempPath() + "Roptions.txt";

        string scriptOptions = UtilEncoder.PrepareEncoderGraphOptions(
            title,
            es,
            neuromuscularProfileDo,
            translate,
            Debug,
            CrossValidate
            ).ToString();

        TextWriter writer = File.CreateText(optionsFile);

        writer.Write(scriptOptions);
        writer.Flush();
        writer.Close();
        ((IDisposable)writer).Dispose();
    }
Пример #3
0
    protected override void writeOptionsFile()
    {
        optionsFile = Path.GetTempPath() + "Roptions.txt";

        string scriptOptions = UtilEncoder.PrepareEncoderGraphOptions(
            "none",                     //title
            es,
            false,                      //neuromuscularProfile
            false,                      //translate (graphs)
            Debug,
            false,                      //crossValidate (unactive on capture at the moment)
            (CutByTriggers != Preferences.TriggerTypes.NO_TRIGGERS),
            printTriggers(),
            false,                      //separateSessionInDays (false at capture)
            EncoderGraphROptions.AnalysisModes.CAPTURE).ToString();

        TextWriter writer = File.CreateText(optionsFile);

        writer.Write(scriptOptions);
        writer.Flush();
        writer.Close();
        ((IDisposable)writer).Dispose();
    }