PrepareEncoderGraphOptions() public static method

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
return 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();
    }