例 9:不純物の割合の計算:アマウント(不純物) / アマウント合計*100

  • スコープ:シグナル

  • データ型:実数型

  • [ピーク / グループ]レベルで、アマウントフィールドを検索します([Compound_Amount])。

  • ByName 関数を使用し、不純物アマウント([Signal.PeakOrGroupByName])にアクセスします。

  • [共通の関数] > [集計][合計]関数を使用し、合計アマウント(Sum("Compound_Amount",CurrentSignal.AllIdentifiedPeaks))を計算します。

CurrentSignal.PeakOrGroupByName("Impurity").Compound_Amount / Sum("Compound_Amount",CurrentSignal.AllIdentifiedPeaks) *100

また、次の方法でも計算できます。

  • スコープ:シグナル

  • データ型:実数型

  • [ピーク / グループ]レベルで、アマウントフィールドを検索します([Compound_Amount])。

  • ByName 関数を使用し、不純物アマウント([Signal.PeakOrGroupByName])にアクセスします。

  • ByName 関数を使用し、不純物が同定されているシグナル(SignalByName("VWD1A"))にアクセスします。

  • [共通の関数] > [集計][合計]関数を使用し、合計アマウント(Sum("Compound_Amount",CurrentInjection.AllIdentifiedPeaks))を計算します。

CurrentInjection.SignalByName("VWD1A").PeakOrGroupByName("Impurity").Compound_Amount / Sum("Compound_Amount",CurrentSignal.AllIdentifiedPeaks)*100