Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns>
 /// 0 = Magnitudes, 1 = Phases
 /// </returns>
 public double[][][] GetS4pFile()
 {
     double[][] sParamMagnitudes =
     {
         S11.ToArray(), S12.ToArray(), S13.ToArray(), S14.ToArray(), S21.ToArray(), S22.ToArray(), S23.ToArray(),
         S24.ToArray(), S31.ToArray(), S32.ToArray(), S33.ToArray(), S34.ToArray(), S41.ToArray(), S42.ToArray(),
         S43.ToArray(), S44.ToArray()
     };
     double[][] sParamPhase =
     {
         F11.ToArray(), F12.ToArray(), F13.ToArray(), F14.ToArray(), F21.ToArray(), F22.ToArray(), F23.ToArray(),
         F24.ToArray(), F31.ToArray(), F32.ToArray(), F33.ToArray(), F34.ToArray(), F41.ToArray(), F42.ToArray(),
         F43.ToArray(), F44.ToArray()
     };
     double[][][] sParams = { sParamMagnitudes, sParamPhase };
     return(sParams);
 }
Beispiel #2
0
 /// <summary>
 /// Возвращает фазы F11, F12, F13, F14, F22, F23, F24, F33, F34, F44.
 /// </summary>
 /// <returns>
 /// F11, F12, F13, F14, F22, F23, F24, F33, F34, F44.
 /// </returns>
 public double[][] GetSParamPhase()
 {
     double[][] sParamPhase =
     { F11.ToArray(), F12.ToArray(), F13.ToArray(), F14.ToArray(), F22.ToArray(), F23.ToArray(), F24.ToArray(), F33.ToArray(), F34.ToArray(), F44.ToArray() };
     return(sParamPhase);
 }
Beispiel #3
0
 public override string ToString()
 {
     return(String.Format("[{0}, {1}, {2}, {3}]\n[{4}, {5}, {6}, {7}]\n[{8}, {9}, {10}, {11}]\n[{12}, {13}, {14}, {15}]",
                          F11.ToString("r"), F12.ToString("r"), F13.ToString("r"), F14.ToString("r"),
                          F21.ToString("r"), F22.ToString("r"), F23.ToString("r"), F24.ToString("r"),
                          F31.ToString("r"), F32.ToString("r"), F33.ToString("r"), F34.ToString("r"),
                          F41.ToString("r"), F42.ToString("r"), F43.ToString("r"), F44.ToString("r")));
 }