src/AircraftTrajectories/Models/IntegratedNoiseModel/IntegratedNoiseModel.cs
/// <summary>
/// Parses the noise output values of the noise model
/// </summary>
/// <returns></returns>
Parses the noise output values of the noise model
Parses the noise output values of the noise model
protected double[][] ReadNoiseData()
        {
            string rawNoise = File.ReadAllText(Globals.currentDirectory + "noise.out");
            double[][] noiseData = rawNoise
                .Split('\n')
                .Skip(2)
                .Select(q =>
                    q.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
                     .Select(Convert.ToDouble)
                     .ToArray()
                )
                .ToArray();
            return noiseData;
        }
protected double [ ] [ ] ReadNoiseData ( ) { string rawNoise = File . ReadAllText ( Globals . currentDirectory + " " ) ; double [ ] [ ] noiseData = rawNoise . Split ( ' \n ' ) . Skip ( 2 ) . Select ( q => q . Split ( new [ ] { " " } , StringSplitOptions . RemoveEmptyEntries ) . Select ( Convert . ToDouble ) . ToArray ( ) ) . ToArray ( ) ; return noiseData ; }
Parses the noise output values of the noise model
Parses the noise output values of the noise model
None