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

Dynesty #327

Merged
merged 68 commits into from
Apr 11, 2024
Merged

Dynesty #327

merged 68 commits into from
Apr 11, 2024

Conversation

thea-mckenna
Copy link
Collaborator

No description provided.

@sblunt
Copy link
Owner

sblunt commented Dec 8, 2022

Awesome work Thea!!!

Dynesty Branch Comments:

  • nested_test -> move to test/end-to-end-tests
  • prior_test -> remove from orbitize directory (but save somewhere on your computer)
  • dynesty_tutorial -> move to docs/tutorials
  • In priors.py:
  1. Remove commented out code
  2. Leave a space between the # and the start of a comment
  3. In transform_samples documentation:
  4. Mention the bounds of u
  5. Add Args and Returns to docstring
  6. Also, we need to implement transform_samples for the other prior classes. For now, let’s just add a NotImplementedError
  • Add a unit test that makes sure NestedSampler API actually runs. Maybe a good way to do this would be to fix all parameters except, say, eccentricity, then let that run to completion. Let’s discuss. This can be the last thing we add.
  • In sampler.py:
  1. Use either ‘’’ or “”” for block comments (I prefer “””)
  2. Add “Thea McKenna, 2022”
  3. In ptform, write out bounds for u, and add Args and Returns statements
  4. Stick to 80 characters per line
  5. wt_kwargsdict is unused (should be passed into sampler)
  6. total_orbits is unused (can be removed)

@sblunt
Copy link
Owner

sblunt commented Jul 5, 2023

Code is good to go from my perspective once the tutorial is finished!

@sblunt sblunt changed the base branch from main to v3 January 12, 2024 01:38
@sblunt
Copy link
Owner

sblunt commented Mar 17, 2024

Ok, assuming tests pass (which they do on my machine), I think this branch is good to go!

@sblunt sblunt requested a review from semaphoreP March 17, 2024 20:43
@sblunt
Copy link
Owner

sblunt commented Mar 18, 2024

The GJ 504 end-to-end test that we currently have is taking absolutely forever, but the tests in the tutorial run relatively quickly. We should add a different end-to-end test that we can compare more easily against MCMC.

@semaphoreP semaphoreP self-assigned this Mar 28, 2024
Copy link
Collaborator

@semaphoreP semaphoreP left a comment

Choose a reason for hiding this comment

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

Looks good to me at a cursory glance through the docs and tests

@semaphoreP semaphoreP merged commit 1368b1b into v3 Apr 11, 2024
8 checks passed
@semaphoreP semaphoreP deleted the dynesty branch April 11, 2024 17:58
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