Distributions (polykin.distributions)¤
convert_polymer_standards ¤
convert_polymer_standards(
M1: FloatOrArrayLike,
K1: float,
K2: float,
a1: float,
a2: float,
) -> FloatArray
Convert a molar mass from a given polymer standard to another using the respective Mark-Houwink parameters.
The conversion from a polymer standard 1 to a polymer standard 2 is given by:
where \(M_i\) is the molar mass in standard \(i\), and \(K_i\) and \(a_i\) are the Mark-Houwink parameters for standard \(i\).
Tip
This tranformation is linear in terms of the logarithm of the molar mass, i.e., \(d \ln M_2/d \ln M_1 = \frac{1 + a_1}{1 + a_2}\). This means that a GPC distribution can be converted from one standard to another by applying this transformation to the x-axis. If you need to convert a number or weight distribution, then the y-axis must also be converted by a suitable approach.
| PARAMETER | DESCRIPTION |
|---|---|
M1
|
Molar mass in standard 1.
TYPE:
|
K1
|
Mark-Houwink coefficient for standard 1.
TYPE:
|
K2
|
Mark-Houwink coefficient for standard 2.
TYPE:
|
a1
|
Mark-Houwink exponent for standard 1.
TYPE:
|
a2
|
Mark-Houwink exponent for standard 2.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
FloatArray
|
Molar mass in standard 2. |
Examples:
A sample of PMMA was mesured to have a molar mass of 100 kg/mol in PS equivalent weight. What is the sample molar mass in actual PMMA weight?
>>> from polykin.distributions import convert_polymer_standards
>>> a1 = 0.77 # PS in THF
>>> K1 = 6.82e-3 # PS in THF
>>> a2 = 0.69 # PMMA in THF
>>> K2 = 1.28e-2 # PMMA in THF
>>> M2 = convert_polymer_standards(100, K1, K2, a1, a2)
>>> print(f"{M2:.2f} kg/mol")
85.68 kg/mol
Source code in src/polykin/distributions/misc.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | |