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

Add DPC plugin for getting a bivariate histogram of the beam shifts #126

Closed

Conversation

magnunor
Copy link
Contributor

@magnunor magnunor commented Apr 13, 2017

  • Add unit test


def make_bivariate_histogram(self):
ui = self.ui
signal_wrapper_list = ui.select_x_signals(
Copy link
Member

Choose a reason for hiding this comment

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

Should check variable for None = cancel.

spatial_std = 3
bins = 200

if (s0_flat.std() > s1_flat.std()):
Copy link
Member

Choose a reason for hiding this comment

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

Here you should probably optimize by precalculating STD and mean, as it is used several times.

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