mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
added and fixed gotthard 25um file and zmq photon finder
This commit is contained in:
@ -286,7 +286,7 @@ public analogDetector<uint16_t> {
|
||||
}
|
||||
}
|
||||
cout << iframe << " " << nph << endl;
|
||||
} else return getClusters(data);
|
||||
} else return getClusters(data, nph);
|
||||
}
|
||||
return NULL;
|
||||
};
|
||||
@ -410,7 +410,7 @@ public analogDetector<uint16_t> {
|
||||
|
||||
*/
|
||||
|
||||
int *getClusters(char *data) {
|
||||
int *getClusters(char *data, int *ph=NULL) {
|
||||
|
||||
|
||||
int nph=0;
|
||||
@ -421,6 +421,9 @@ int *getClusters(char *data) {
|
||||
|
||||
double max=0, tl=0, tr=0, bl=0,br=0, *v, vv;
|
||||
|
||||
if (ph==NULL)
|
||||
ph=image;
|
||||
|
||||
if (iframe<nDark) {
|
||||
addToPedestal(data);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user