Skip to content

Commit

Permalink
Fix fitting order type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rastislav Turanyi committed Nov 11, 2024
1 parent fc7a1c2 commit f36e3dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resolution_functions/models/pychop.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def __init__(self,
model_data: PyChopModelDataFermi,
e_init: Optional[float] = None,
chopper_frequency: Optional[int] = None,
fitting_order: Optional[int] = 4,
fitting_order: int = 4,
**_):
if chopper_frequency is None:
chopper_frequency = model_data.default_chopper_frequency
Expand Down Expand Up @@ -572,7 +572,7 @@ def __init__(self,
e_init: Optional[float] = None,
resolution_disk_frequency: Optional[int] = None,
fermi_frequency: Optional[int] = None,
fitting_order: Optional[int] = 4,
fitting_order: int = 4,
**_):
chopper_frequencies = [resolution_disk_frequency, fermi_frequency]
chopper_frequencies = self._validate_chopper_frequency(chopper_frequencies, model_data)
Expand All @@ -593,7 +593,7 @@ def __init__(self,
e_init: Optional[float] = None,
resolution_frequency: Optional[int] = None,
pulse_remover_frequency: Optional[int] = None,
fitting_order: Optional[int] = 4,
fitting_order: int = 4,
**_):
chopper_frequencies = [resolution_frequency, pulse_remover_frequency]
chopper_frequencies = self._validate_chopper_frequency(chopper_frequencies, model_data)
Expand Down

0 comments on commit f36e3dc

Please sign in to comment.