Skip to content

Commit

Permalink
fix seed in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
georgievgeorgi committed Nov 19, 2024
1 parent afab569 commit 008d40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/end_to_end/test_generate_and_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_gaussian_fit_parameters():
]
spe = rc2.spectrum.from_theoretical_lines(shapes=['gaussian']*len(params),
params=params, x=x)
spe = spe.add_gaussian_noise_drift(sigma=.5, coef=.2)
spe = spe.add_gaussian_noise_drift(sigma=.5, coef=.2, rng_seed=1111)
spe = spe.subtract_moving_minimum(100)
params_df = pd.DataFrame.from_records(params)

Expand Down

0 comments on commit 008d40a

Please sign in to comment.