Skip to content

Commit

Permalink
Added output for Ex 10, 11, 12.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferyee committed Nov 30, 2023
1 parent fb91742 commit 2242982
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions data/expected_example_output/example_10/Ex10_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Fitted parameters:
t_0 : 2454656.39908 0.00004 0.00003
u_0 : 0.00311 0.00014 0.00014
t_E : 10.78598 0.50061 0.45567
t_star : 0.05311 0.00010 0.00011
Fluxes (source and blending):
flux_s_1 : 16.2724 0.7504 0.7533
flux_b_1 : 19.4651 0.7343 0.7324
flux_s_2 : 1.5269 0.0686 0.0675
flux_b_2 : 13.8875 0.0471 0.0446
flux_s_3 : 15.9354 0.7181 0.6964
flux_b_3 : 30.6087 4.3688 3.9172

Smallest chi2 model:

Smallest chi2 model:
2454656.3990747104 0.003140471938847057 10.687652809215646 0.05310677368499168
chi2 = 4488.397319300576

Now let's plot the best model
~/MulensModel/source/MulensModel/utils.py:149: UserWarning: Flux to magnitude conversion approached negative flux
UserWarning)
~/MulensModel/source/MulensModel/utils.py:150: RuntimeWarning: invalid value encountered in log10
mag = zeropoint - 2.5 * np.log10(flux)
24 changes: 24 additions & 0 deletions data/expected_example_output/example_11/Ex11_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
First fit. This can take some time...
Fitted parameters:
t_0_1: 6100.04856 +0.02384 -0.02442
u_0_1: 0.20176 +0.00752 -0.00703
t_0_2: 6140.00048 +0.00054 -0.00053
u_0_2: 0.01000 +0.00028 -0.00026
t_E: 24.97848 +0.63846 -0.64421

Smallest chi2 model:
6100.043548826305 0.2022324038184834 6140.000506813421 0.010020746352062961 24.915197094232358
chi2 = 1559.6924283831406

Second fit. This can take some time...
Fitted parameters:
t_0_1: 6100.04559 +0.02412 -0.02510
u_0_1: 0.20177 +0.00737 -0.00713
t_0_2: 6140.00051 +0.00058 -0.00052
u_0_2: 0.01001 +0.00028 -0.00027
t_E: 24.95427 +0.66243 -0.63960
flux_ratio: 0.04960 +0.00073 -0.00075

Smallest chi2 model:
6100.045603563694 0.20091734861294366 6140.000535868968 0.0099839566576509 25.026575661688916 0.04969677432173234
chi2 = 1559.7269272614674
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions data/expected_example_output/example_12/Ex12_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Fitted parameters:
t_0 : 2456836.16049 0.06449 0.06147
u_0 : 0.91317 0.08863 0.06308
t_E : 23.00179 1.08252 1.36160
pi_E_N : -0.24558 0.02746 0.03641
pi_E_E : 0.25284 0.01993 0.01458

Smallest chi2 model:
2456836.1677156785 0.895675183048813 23.285476727841555 -0.2372979702893409 0.24911302577456898
4227.374316561218

0 comments on commit 2242982

Please sign in to comment.