Project

General

Profile

Actions

Bug #450

closed

Histograms are not properly displaying data

Added by Neil Voss about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/11/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
Show in known bugs:
Workaround:

Description

I noticed that my Euler graph should have a mean of 0.17, meaning that most values are less than one, but the histogram show that the predominant value was 2. I dug a little deeper and realized the code was all wrong and was slower than it needed to be.

I've attached the original and fixed versions of the Euler graph. I am very pleased with these results and it has an average speed up of about 5 fold.


Files

eulergraph.wrong.png (6.78 KB) eulergraph.wrong.png Euler graph with wrong display Neil Voss, 05/11/2010 09:07 AM
eulergraph.fixed.png (6.79 KB) eulergraph.fixed.png Euler graph with fixed display Neil Voss, 05/11/2010 09:07 AM
Actions #1

Updated by Neil Voss about 14 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Neil Voss to Amber Herold

This affects all plots. So look at defocus values, euler plots, x,y coordinates, alignment scores, etc. when testing.

Note: do not be alarmed this phenomenon only affects plots with hard edges, i.e., most of the data is 0 or 1 as the Euler plot (above) or maximum likelihood plots. Gaussian plots like defocus values should be unaffected.

Actions #2

Updated by Amber Herold about 14 years ago

  • Assignee changed from Amber Herold to Neil Voss

Great catch Neil.

It looks like the old stuff is just commented out. If you think it is necessary to leave that code there for historical/educational purposes could you please add a comment explaining why it is there. Otherwise I would just remove it to avoid future confusion.

Actions #3

Updated by Neil Voss about 14 years ago

  • Assignee changed from Neil Voss to Amber Herold
  • % Done changed from 0 to 100

removed old algorithm, r13868.

Actions #4

Updated by Amber Herold about 14 years ago

  • Assignee changed from Amber Herold to Neil Voss

Who to test?

Actions #5

Updated by Amber Herold about 14 years ago

  • Status changed from In Code Review to In Test
Actions #6

Updated by Neil Voss about 14 years ago

  • Assignee changed from Neil Voss to Anke Mulder

can you check out a few histograms and make sure they look good.

Actions #7

Updated by Neil Voss almost 14 years ago

  • Target version set to Appion/Leginon 2.0.0
Actions #8

Updated by Anke Mulder almost 14 years ago

  • Status changed from In Test to Closed

looks good.

Actions

Also available in: Atom PDF