public IPSResultData(IEnumerable <double> inten, IEnumerable <double> refl, IEnumerable <double> wave, double thickness, mCrtCrd pos) { IntenList = new Intensity [] { }; Reflectivity = new Reflectivity [] { }; Thickness = thickness; Position = pos; DIntenList = inten; DReflectivity = refl; DWaveLength = wave; }
private static bool IsValid(mCrtCrd pos) => pos.Match( () => false, X => true);