Skip to content

Commit

Permalink
fix: ECG default frequency (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schmidl authored Feb 7, 2023
1 parent 5c6a67c commit 935525c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gutenTAG/base_oscillations/ecg.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def generate_only_base(self,

def ecg(rng: np.random.Generator = np.random.default_rng(),
length: int = default_values[BASE_OSCILLATIONS][PARAMETERS.LENGTH],
frequency: float = default_values[BASE_OSCILLATIONS][PARAMETERS.COMPLEXITY],
frequency: float = default_values[BASE_OSCILLATIONS][PARAMETERS.FREQUENCY],
amplitude: float = default_values[BASE_OSCILLATIONS][PARAMETERS.AMPLITUDE],
ecg_sim_method: str = default_values[BASE_OSCILLATIONS][PARAMETERS.ECG_SIM_METHOD]) -> np.ndarray:
duration = length // sampling_rate
Expand Down

0 comments on commit 935525c

Please sign in to comment.