public static AnalysisState Remove(
			this AnalysisState self , int idx )
		{
			self.State.Remove( idx );
			return self;
		}
		public static AnalysisState ChangeWaveLen( AnalysisState state , double [ ] minmax )
			=> CreateState( state.State , minmax );
		public static AnalysisState Insert(
			this AnalysisState self , IPSResultData data , int idx )
		{
			self.State [ idx ] = data;
			return self;
		}
		public static AnalysisState Add( AnalysisState state , IPSResultData data , int idx )
			=> state.Map( SetAction( true ) )
					.Map( SetTarget( idx ) );
		public static AnalysisState Pop( AnalysisState state , int idx )
			=> state.Map( SetAction( false ) )
					.Map( SetTarget( idx ) );
		public static IEnumerable<double [ ]> ExtractRflct( AnalysisState state )
			=> state.State.Select( x => x.Value.DReflectivity.ToArray() );
		public static IEnumerable<double> ExtractLabel( AnalysisState state )
			=> state.State.First().Value.DWaveLength;
		public static IEnumerable<double [ ]> ExtractInten( AnalysisState state )
			=> state.State.Select( x => x.Value.DIntenList.ToArray() );
		public static mCrtCrd OfPosition
		( this AnalysisState self , int idx )
			=> self.State.ContainsKey( idx )
				? self.State [ idx ].Position
				: null;
示例#10
0
		public static Thickness OfThickness
		( this AnalysisState self , int idx )
			=> self.State.ContainsKey( idx )
				? self.State [ idx ].Thickness
				: null;
示例#11
0
		public static Reflectivity [ ] OfRefelctivity
			( this AnalysisState self , int idx )
			=> self.State.ContainsKey( idx )
				? self.State [ idx ].Reflectivity
				: null;
示例#12
0
		public static Intensity [ ] OfIntensity
			( this AnalysisState self , int idx )
			=> self.State.ContainsKey( idx )
				? self.State [ idx ].IntenList
				: null;