lsst-camera-visualization / frontend

Frontend
0 stars 0 forks source link

graph_pixel (and other histograms): Add the ability to suppress enormous bins. #27

Open jonthaler opened 7 years ago

jonthaler commented 7 years ago

We will want the ability to suppress (i.e., not display) histogram bins that overwhelm the plot.
Here is an example using graph_pixel. I am trying to display the pixel distribution in the overscan regions, but don't want to select a region that contains only overscan pixels. (There may be use cases where optimal region selection is not possible.) The overflow bin overwhelms the rest of the histogram, which actually has a peak near 100.

graph_pixel

weiren2 commented 7 years ago

Can we use log option to overcome this? Or do we set a threshold on bin counts of overflow/underflow (for example, 10 times of peak value)?

This is what I have if using log option. image

jonthaler commented 7 years ago

This is a partial fix, however the user may want to view the interesting part of the plot in linear mode. Linear plots show some subtle details that are not visible in log plots.