Skip to content

Conversation

@HamishGBrown
Copy link
Contributor

Fixed two bugs:

Random sampling of frames for histogram fitting of dark reference (line 78) sometimes overshot array bounds.

Center of mass was being performed over a 2x2 local region (line 194-196) and this has been corrected to a 3x3 region - typical Python array bounds gotcha

Fixed two bugs:

Random sampling of frames for histogram fitting of dark reference (line 78) sometimes overshot array bounds.

Center of mass was being performed over a 2x2 local region (line 194-196) and this has been corrected to a 3x3 region - typical Python array bounds gotcha
@HamishGBrown
Copy link
Contributor Author

Hi Ben,

Would you mind pulling these changes to the electron counting routine in preparation for our skype discussion?

@bsavitzky bsavitzky merged commit d20c3a3 into py4dstem:master Dec 11, 2018
sezelt referenced this pull request in sezelt/py4DSTEM Aug 17, 2021
simple pointlistarray matching framework
sezelt added a commit that referenced this pull request Oct 22, 2023
Adding requested docstrings
smribet pushed a commit that referenced this pull request Aug 29, 2024
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