Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New distribution: ParticleDistribution #106

Merged
merged 8 commits into from
Feb 16, 2017

Conversation

ihincks
Copy link
Collaborator

@ihincks ihincks commented Feb 1, 2017

This PR simply adds the new distribution ParticleDistribution and corresponding tests. All methods and properties of SMCUpdater which were (in my opinion) relevant to a bare particle distribution were copied over (but left intact). This is the first step of #105. The next step, in my view, is to implement the hierarchy ParticleDistribution>AbstractUpdater>SMCUpdater.

It would be worthwhile for someone to compare the properties and methods of ParticleDistribution and SMCUpdater to check if my choices are appropriate and comprehensive.

[Sorry for all the whitespace changes my text editor did automatically]

@coveralls
Copy link

coveralls commented Feb 1, 2017

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 1bef90e on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 66ace2d on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

3 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 66ace2d on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 66ace2d on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 66ace2d on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

@cgranade
Copy link
Collaborator

cgranade commented Feb 1, 2017

Thanks, this looks like a very good start on #105! I'll look over and see if I have any concrete suggestions, but after a cursory look, I think it's great.

Before merging, I'd like to fix the Travis build error, though. It looks like it's unrelated to this PR, but is happening due to changes in QuTiP upstream; now that 4.0 is out, we should be able to make the doctest build more stable, so I'll go on and take care of that in a separate PR soon. Thanks!

@coveralls
Copy link

coveralls commented Feb 7, 2017

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 5ff3f5a on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+2.2%) to 67.713% when pulling 5ff3f5a on ihincks:feature-particle-distribution into a93f9d2 on QInfer:master.

Copy link
Collaborator

@cgranade cgranade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good, merging now. Thanks!

@cgranade cgranade merged commit ddac821 into QInfer:master Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants