File extrafeats.py
has 385 lines of code (exceeds 250 allowed). Consider refactoring.
"""Extracellular features functions"""
"""
Copyright (c) 2024, EPFL/Blue Brain Project
Function calculate_features
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
def calculate_features(
waveforms,
sampling_frequency,
upsample=None,
feature_names=None,
Function halfwidth
has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
def halfwidth(
waveforms,
sampling_frequency,
return_idx=False
):
Function repolarization_slope
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
def repolarization_slope(waveforms,
sampling_frequency,
return_idx=False
):
"""
Function calculate_features
has 5 arguments (exceeds 4 allowed). Consider refactoring.
def calculate_features(
There are no issues that match your filters.