# Surface-Memory Error Model [`gadgets/03_custom_noise.py`](../../../../examples/gadgets/03_custom_noise.py) derives the surface-memory experiment's error model gadget by gadget and saves it as a packed EDEM artifact. Follow [Derive an error model from gadgets](../gadget-edems.md) for a detailed walkthrough. ```{literalinclude} ../../../../examples/gadgets/03_custom_noise.py :language: python ``` [Back to examples](index.md)