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

Stats 1 d #290

Merged
merged 8 commits into from
Jun 23, 2015
Merged

Stats 1 d #290

merged 8 commits into from
Jun 23, 2015

Conversation

CJ-Wright
Copy link
Member

Add function for doing more advanced statistics on 1D histograms.

nx = _defaults["bins"]

# use a weighted histogram to get the bin sum
bins = np.linspace(start=min_x, stop=max_x, num=nx+1, endpoint=True)
Copy link
Member

Choose a reason for hiding this comment

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

We have a helper function in core to take any permutation of how to specify bin edges. Might be worth either use that here taking in the bins array as input.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, I copied the signature from bin_1D

tacaswell added a commit that referenced this pull request Jun 23, 2015
ENH: add statistics_1D + wrap pyfai pixel -> q computations
@tacaswell tacaswell merged commit 9f116bd into scikit-beam:master Jun 23, 2015
@CJ-Wright CJ-Wright deleted the stats_1D branch June 23, 2015 18:58
@CJ-Wright CJ-Wright restored the stats_1D branch February 26, 2016 15:36
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.

None yet

2 participants