---
tags: Showcase, Notes
lang: en-GB
---
# Convolve forcing with made-up responses
[](https://hackmd.io/@engeir/ByJm9tCno)
[](https://github.com/engeir/hack-md-notes/blob/main/convolve-forcing-comparison.md)
Here, we want to create a response function from a functional form and convolve it with
different forcing alternatives that we get from CESM2.
## Forcing
The forcing alternatives are
1. Total aerosol optical depth in visible band (AOD)
2. Total injected SO2 aerosols (Injection)
3. Radiation imbalance at the top of the atmosphere (Imbalance)
The figure below shows the three alternatives scaled to have similar maximum amplitudes.




## Response
We create two different response functions; one with exponential decay and one with
algebraic decay. Specifically, we define them in python as
```python
res[mid:] = np.exp(-tau[mid:] / 4)
res[mid:] = (tau[mid:] + 1) ** (-1.1)
```
Values before `mid` are all zeros and `tau[mid] == 0`.
## Results
Let us look at the case where the volcano was at its strongest. This is the simulation
that has the longest run, covering 1850 to 1874.
From the plots below, we find the exponential decay to be a worse fit when convolved
with all forcing time series. The algebraically decaying response function performs well
with the radiation imbalance forcing.


During the first six years, there are only small differences between convolving with an
algebraic vs. exponential function, but after this, the algebraic outperforms the other.
This is the case with the medium-sized eruption as well, that the algebraic decay fit
better than the exponential.


In the last example, with a small eruption, the amount of noise in the temperature
signal makes it hard to draw any real conclusion about which is better. Both the
algebraic and the exponential decay work well.

