mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
slsDetectorUsers inherited by all classes i.e. API ready for EPICS driver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@187 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -3985,14 +3985,17 @@ int slsDetector::setFlatFieldCorrection(string fname){
|
||||
thisDetector->nBadFF=0;
|
||||
|
||||
char ffffname[MAX_STR_LENGTH*2];
|
||||
if (fname=="default") {
|
||||
fname=string("thisDetector->flatFieldFile");
|
||||
}
|
||||
|
||||
if (fname=="") {
|
||||
if (fname=="") {
|
||||
#ifdef VERBOSE
|
||||
std::cout<< "disabling flat field correction" << std::endl;
|
||||
std::cout<< "disabling flat field correction" << std::endl;
|
||||
#endif
|
||||
thisDetector->correctionMask&=~(1<<FLAT_FIELD_CORRECTION);
|
||||
strcpy(thisDetector->flatFieldFile,"none");
|
||||
} else {
|
||||
thisDetector->correctionMask&=~(1<<FLAT_FIELD_CORRECTION);
|
||||
//strcpy(thisDetector->flatFieldFile,"none");
|
||||
} else {
|
||||
#ifdef VERBOSE
|
||||
std::cout<< "Setting flat field correction from file " << fname << std::endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user