bio_rtd.utils.convolution¶
time_conv¶
-
bio_rtd.utils.convolution.
time_conv
(dt, c_in, rtd, c_equilibration=None, logger=None)[source]¶ Perform time convolution
First time-point of c_in and ‘c_rtd’ is at t == 0 (and not at t == dt). Convolution is applied to all columns (= species) of the c_in
- Parameters
dt (float) – Time step.
c_in (np.ndarray) – Starting concentration profile for each specie
rtd (
ndarray
) – Residence time distribution (= unit impulse response)c_equilibration (
Optional
[ndarray
]) – Initial concentrations of species inside the void volume of the unit operation. E. g. the composition of equilibration buffer for flow-through column.logger (
Optional
[RtdLogger
]) – Logger can be passed from unit operations
- Returns
Final concentration profile for each specie
- Return type
np.ndarray