<reponame>Lavton/ft_icr_traps_calculation<filename>plot_3d_trap_params.py<gh_stars>0
from dataclasses import dataclass
from typing import Callable, Optional


@dataclass
class TrapVisParams:
    expand_amount: Optional[Callable] = None  # the function that from electrode number return the value the electrode need to be shifted
    view_th: float = 50  # the angle of 3d viewing
    view_phi: float = 25  # the another angle of 3d viewing
    dist: float = 3  # the standard distance of 3d viewing

from dataclasses import dataclass
from typing import Callable, Optional


@dataclass
class TrapVisParams:
    expand_amount: Optional[Callable] = None  # the function that from electrode number return the value the electrode need to be shifted
    view_th: float = 50  # the angle of 3d viewing
    view_phi: float = 25  # the another angle of 3d viewing
    dist: float = 3  # the standard distance of 3d viewing
# the function that from electrode number return the value the electrode need to be shifted # the angle of 3d viewing # the another angle of 3d viewing # the standard distance of 3d viewing