Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@nhuntwalker
Copy link
Contributor

The cumulative distribution can be accessed by setting the parameter get_cumulative to True. It defaults to False so that it doesn't break any existing code that generates functions from the old lumfunc.py

Copy link
Member

Choose a reason for hiding this comment

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

Let's change get_cumulative to return_cumulative

@jakevdp
Copy link
Member

jakevdp commented Aug 5, 2015

Looks good! Last thing we need is unit tests for the new functionality.

@nhuntwalker
Copy link
Contributor Author

I didn't test the binned and bootstrapped functions separately since one builds on the other. I also didn't test the bootstrapped function with and without the "return_cumulative" param set to True, as whether it's true or false the output uses the same lines of code right up until the very last bit

Copy link
Member

Choose a reason for hiding this comment

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

should be ybins[1:] + ybins[:-1], yes?

Base automatically changed from master to main February 24, 2021 16:27
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.