Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions testsuite/pytests/test_stdp_pl_synapse_hom.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,13 @@

from math import exp

import matplotlib.pyplot as plt
import nest
import numpy as np
import pytest

DEBUG_PLOTS = False

if DEBUG_PLOTS:
try:
import matplotlib as mpl # noqa: F401
import matplotlib.pyplot as plt

DEBUG_PLOTS = True
except Exception:
DEBUG_PLOTS = False


@nest.ll_api.check_stack
class TestSTDPPlSynapse:
"""
Compare the STDP power-law synaptic plasticity model against a self-contained Python reference.
Expand Down
12 changes: 1 addition & 11 deletions testsuite/pytests/test_stdp_synapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,17 @@

from math import exp

import matplotlib.pyplot as plt
import nest
import numpy as np
import pytest

DEBUG_PLOTS = False

if DEBUG_PLOTS:
try:
import matplotlib as mpl # noqa: F401
import matplotlib.pyplot as plt

DEBUG_PLOTS = True
except Exception:
DEBUG_PLOTS = False


# Defined here so we can use it in init_params() and in parametrization
RESOLUTION = 0.1 # [ms]


@nest.ll_api.check_stack
class TestSTDPSynapse:
"""
Compare the STDP synaptic plasticity model against a self-contained Python reference.
Expand Down