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