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 Developed Codes for SAXS-GiSAXS_XPCS #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yugangzhang
Copy link
Collaborator

Codes developed at May 2016

Codes developed at May 2016
# return the three arrays
return bins, val, count

def bin_edges_to_centers(input_edges):

Choose a reason for hiding this comment

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

@yugangzhang isn't this the same function in skbeam/utils bin_edges_to_centers function?

@@ -0,0 +1,131 @@
from chx_libs import *
Copy link
Contributor

Choose a reason for hiding this comment

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

Make these relative imports (from .chx_libs import *) and, better yet, import only the parts you need (from chx_libs import some_func, another_func) so it is clear to the reader where all the functions below came from.

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