| 1 |
{% macro before_run() %} |
| 2 |
import numpy as _numpy |
| 3 |
from brian2.codegen.runtime.numpy_rt.numpy_rt import LazyArange |
| 4 |
{% block before_code %} |
| 5 |
# EMPTY_CODE_BLOCK -- overwrite in child template |
| 6 |
{% endblock %} |
| 7 |
{% endmacro %} |
| 8 |
|
| 9 |
{% macro run() %} |
| 10 |
import numpy as _numpy |
| 11 |
from brian2.codegen.runtime.numpy_rt.numpy_rt import LazyArange |
| 12 |
{% block maincode %} |
| 13 |
{% endblock %} |
| 14 |
{% endmacro %} |
| 15 |
|
| 16 |
{% macro after_run() %} |
| 17 |
import numpy as _numpy |
| 18 |
from brian2.codegen.runtime.numpy_rt.numpy_rt import LazyArange |
| 19 |
{% block after_code %} |
| 20 |
# EMPTY_CODE_BLOCK -- overwrite in child template |
| 21 |
{% endblock %} |
| 22 |
{% endmacro %} |