Changeset 74


Ignore:
Timestamp:
06/24/09 10:49:02 (15 years ago)
Author:
qweitzel
Message:
M0 display in ddd is now upside down
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ddd/Functions.cpp

    r66 r74  
    154154              buffer = strtok(NULL, delim);
    155155              pixel = atoi(buffer);
     156               
     157              //usual M0 mapping
     158              //int binx = 5-(int((superpixel-1)/3)*2)-(int((pixel%4)/2));
     159              //int biny = 5-(((superpixel-1)%3)*2)-(int((pixel-1)/2));
    156160                     
    157               int binx = 5-(int((superpixel-1)/3)*2)-(int((pixel%4)/2));
    158               int biny = 5-(((superpixel-1)%3)*2)-(int((pixel-1)/2));
    159              
     161              //M0 upside down
     162              int binx = 5-(5-(int((superpixel-1)/3)*2)-(int((pixel%4)/2)));
     163              int biny = 5-(5-(((superpixel-1)%3)*2)-(int((pixel-1)/2)));
     164
    160165              //search maximum sample amplitude within user specified window
    161166              //start bin is always smaller than stop bin (taken care of by updated ranges)
Note: See TracChangeset for help on using the changeset viewer.