src/torchio/transforms/augmentation/intensity/random_motion.py
File random_motion.py
has 274 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from collections import defaultdict
from typing import Dict
from typing import List
from typing import Sequence
from typing import Tuple
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function get_params
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_params(
Function add_artifact
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_artifact(