Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Nov 12, 2023
1 parent 9363102 commit dbfc8da
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions tests/full_configs/main.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ par_sigma_smooth = 2.
per_sigma_smooth = 2.
BB-lyalya_lyalya-0-broadband_sky-scale-sky = 0.00896
BB-lyalya_lyalya-0-broadband_sky-sigma-sky = 32.7
BB-lyalya_lyalya-0 add post r,mu (0,0) = 0.1
BB-lyalya_lyalya-0 add post r,mu (0,2) = 0.1
BB-lyalya_lyalya-0 add post r,mu (0,4) = 0.1
BB-lyalya_lyalya-0 add post r,mu (0,6) = 0.1
BB-lyalya_lyalya-0 add post r,mu (1,0) = 0.1
BB-lyalya_lyalya-0 add post r,mu (1,2) = 0.1
BB-lyalya_lyalya-0 add post r,mu (1,4) = 0.1
BB-lyalya_lyalya-0 add post r,mu (1,6) = 0.1
BB-lyalya_lyalya-0 add post r,mu (2,0) = 0.1
BB-lyalya_lyalya-0 add post r,mu (2,2) = 0.1
BB-lyalya_lyalya-0 add post r,mu (2,4) = 0.1
BB-lyalya_lyalya-0 add post r,mu (2,6) = 0.1
BB-lyalya_lyalya-0 add post r,mu (0,0) = 0.001
BB-lyalya_lyalya-0 add post r,mu (0,2) = 0.001
BB-lyalya_lyalya-0 add post r,mu (0,4) = 0.001
BB-lyalya_lyalya-0 add post r,mu (0,6) = 0.001
BB-lyalya_lyalya-0 add post r,mu (1,0) = 0.001
BB-lyalya_lyalya-0 add post r,mu (1,2) = 0.001
BB-lyalya_lyalya-0 add post r,mu (1,4) = 0.001
BB-lyalya_lyalya-0 add post r,mu (1,6) = 0.001
BB-lyalya_lyalya-0 add post r,mu (2,0) = 0.001
BB-lyalya_lyalya-0 add post r,mu (2,2) = 0.001
BB-lyalya_lyalya-0 add post r,mu (2,4) = 0.001
BB-lyalya_lyalya-0 add post r,mu (2,6) = 0.001

[control]
sampler = True
Expand Down
4 changes: 2 additions & 2 deletions tests/test_vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ def test_vega_new():
vega = VegaInterface('full_configs/main.ini')

loglik = vega.log_lik()
assert isclose(loglik, -58967.38295296009)
assert isclose(loglik, -8766.997113218942)

vega.minimize()

assert isclose(vega.bestfit.fmin.fval, 100380.65140993778)
assert isclose(vega.bestfit.fmin.fval, 0.6392334022603812)


def test_vega_old():
Expand Down

0 comments on commit dbfc8da

Please sign in to comment.