appliedchemlabwork_tayra.D2.calc_weighted_mean#
- appliedchemlabwork_tayra.D2.calc_weighted_mean(data: DataFrame, absorbance: DataFrame) DataFrame[source]#
Calculates the weighted mean of the adsorption rate.
- Parameters:
- dataDataFrame
The
DataFramewhich represents the data of original solution.- absorbanceDataFrame
The
Dataframewhich represents the data of experiment.
- Returns:
- dfDataFrame
The
DataFrameof the calculated mean value by pH.
- Raises:
- Exception
The format of table is not suitable.
Notes
The suitable table format for
absorbanceis:pH
\(A\), \(\lambda_1\), Flow-through
\(A\), \(\lambda_2\), Eluted
\(A,\ \lambda_2\), FT
\(A,\ \lambda_2\), El
6.5
0.118
0.033
0.404
0.015
8.0
0.086
0.065
0.285
0.112
One for
datais:\(\lambda_1\)
\(\lambda_2\)
0.461
0.093