Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1262d02
new fork
MishaSavchenko Mar 22, 2017
89b3d7b
updating the new fork
MishaSavchenko Mar 22, 2017
7641e25
i dont even at this point
MishaSavchenko Mar 22, 2017
8a53534
fixing the incorect matrix multiplication)
MishaSavchenko Mar 28, 2017
7d6ddba
understanding the use of bounds in the minimization function
MishaSavchenko Mar 28, 2017
ff198ff
temp to high mistakes in the code are still to be found
MishaSavchenko Mar 28, 2017
a77c2df
RuntimeWarning errors appear, possible bug in the code
MishaSavchenko Mar 28, 2017
00add82
RuntimeWarning errors appear, possible bug in the code
MishaSavchenko Mar 28, 2017
767374e
minor cleanup prefomed
MishaSavchenko Mar 28, 2017
abd1504
mimicing the model of mcmc.py
MishaSavchenko Mar 28, 2017
98b7dad
ValueError: setting an array element with a sequence is fixed
MishaSavchenko Mar 28, 2017
e5d3263
separate folders, addition of the test files, __init__.py are present
MishaSavchenko Mar 29, 2017
0c34dc2
separete folders, testing files creation, pytest operation
MishaSavchenko Mar 29, 2017
441caac
functional py.test
MishaSavchenko Mar 29, 2017
55813dc
addition of a vary through description
MishaSavchenko Apr 1, 2017
fccd882
addition of MHSampler into clone code
MishaSavchenko Apr 2, 2017
37e688c
ordered savefig
MishaSavchenko Apr 4, 2017
626d052
clone emcee working
MishaSavchenko Apr 4, 2017
3ce7393
addition of a class version
MishaSavchenko Apr 5, 2017
77ff7fa
test file
MishaSavchenko Apr 5, 2017
e929aea
working timeit script, almost no difference between class or no class…
MishaSavchenko Apr 5, 2017
8eca441
clone_emceee and clone_emceee_class both show the log factor calculat…
MishaSavchenko Apr 6, 2017
522e64f
addition of initial guess plot
MishaSavchenko Apr 6, 2017
4e9e719
extra commit
MishaSavchenko Apr 6, 2017
e9ec10f
better plots
MishaSavchenko Apr 7, 2017
391203b
addition of more graphs
MishaSavchenko Apr 7, 2017
cfae021
addition of more graphs
MishaSavchenko Apr 7, 2017
07f9291
mcmc_clone_emcee now makes a new folder and saves figures inside of it
MishaSavchenko Apr 7, 2017
da1112d
clone emceee now ptakes the data from SED.dat file and runs calculati…
MishaSavchenko Apr 10, 2017
70f5d30
oh boy, mcmc_clone_emcee_class up to date, mcmc_clone saes the last r…
MishaSavchenko Apr 13, 2017
ad3b9c7
pytest includes two more tests, more annotated mcmc_clone_emcee.py
MishaSavchenko Apr 13, 2017
4be1f49
deleted unnecessary files
MishaSavchenko Apr 13, 2017
0f190bd
pull request modifications
MishaSavchenko Apr 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

# command to install dependencies
#install: "pip install -r requirements.txt"
# command to run tests
script: py.test
Binary file removed line-data.png
Binary file not shown.
Binary file removed line-least-squares.png
Binary file not shown.
Binary file removed line-max-likelihood.png
Binary file not shown.
Binary file removed line-mcmc.png
Binary file not shown.
Binary file removed line-time.png
Binary file not shown.
11 changes: 1 addition & 10 deletions line.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@
y += np.abs(f_true*y) * np.random.randn(N)
y += yerr * np.random.randn(N)


"""
y_list.append(y)
x_list.append(x)
yerr_list.append(yerr)

print(y_list)
print(x_list)
print(yerr_list)
"""
# Plot the dataset and the true model.
xl = np.array([0, 10])
pl.errorbar(x, y, yerr=yerr, fmt=".k")
Expand Down Expand Up @@ -83,6 +73,7 @@ def lnprob(theta, x, y, yerr):
lp = lnprior(theta)
if not np.isfinite(lp):
return -np.inf
print(lp + loglikechain[0])
return lp + lnlike(theta, x, y, yerr)

# Find the maximum likelihood value.
Expand Down
159 changes: 0 additions & 159 deletions line0.py

This file was deleted.

153 changes: 0 additions & 153 deletions line00.py

This file was deleted.

Loading