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

Characterization of raw data: image of adc vs col #6

Open
manuelakuhn opened this issue May 4, 2018 · 0 comments
Open

Characterization of raw data: image of adc vs col #6

manuelakuhn opened this issue May 4, 2018 · 0 comments

Comments

@manuelakuhn
Copy link
Member

manuelakuhn commented May 4, 2018

@Wunderer wants to create an "image" of the raw data but instead of using raw vs col she wants to use adc vs col.
How does that work?

We would like to modify the "image" method of raw so that it has dimensions
x = columns (as before)
y = ADCs (so only 7 rows, not 14xx)
This amounts to generating a new histogram (one for each coarse, each fine, each gain for both sample & reset)
when I copy the raw/image.py routine, and replace plt.imshow(data) by a plt.hist2d(self._data["ADC'], self._data["col"], .) I get an error that 'self' is not defined ... so I can't trivially do this myself yet.

or worded as algorithm: for either sample/reset, and for either coarse/fine/gain (having 6 separate plots created is fine)

  • build a 2d histogram with columns as X and ADC number as Y
  • display the histogram (ideally with a color bar, and labeling)
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

No branches or pull requests

1 participant