mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-13 16:18:41 +01:00
fixed no interpolation mode for moench (#1263)
Co-authored-by: Anna Bergamaschi <anna.bergamaschi@psi.ch>
This commit is contained in:
@@ -48,8 +48,9 @@ add_executable(moench03Interpolation moench03Interpolation.cpp)
|
|||||||
#no compile defs
|
#no compile defs
|
||||||
list(APPEND MOENCH_EXECUTABLES moench03Interpolation)
|
list(APPEND MOENCH_EXECUTABLES moench03Interpolation)
|
||||||
|
|
||||||
add_executable(moench03NoInterpolation moench03NoInterpolation.cpp)
|
add_executable(moench03NoInterpolation moench03Interpolation.cpp)
|
||||||
#no compile defs
|
#no compile defs
|
||||||
|
target_compile_definitions(moench03NoInterpolation PRIVATE NOINTERPOLATION)
|
||||||
list(APPEND MOENCH_EXECUTABLES moench03NoInterpolation)
|
list(APPEND MOENCH_EXECUTABLES moench03NoInterpolation)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -126,11 +126,11 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
int quad;
|
int quad;
|
||||||
#ifndef FF
|
#ifndef FF
|
||||||
|
double int_x, int_y;
|
||||||
|
int *img;
|
||||||
#ifndef NOINTERPOLATION
|
#ifndef NOINTERPOLATION
|
||||||
char fname[10000];
|
char fname[10000];
|
||||||
int ok;
|
int ok;
|
||||||
double int_x, int_y;
|
|
||||||
int *img;
|
|
||||||
cout << "read ff " << argv[2] << endl;
|
cout << "read ff " << argv[2] << endl;
|
||||||
sprintf(fname, "%s", argv[2]);
|
sprintf(fname, "%s", argv[2]);
|
||||||
interp->readFlatField(fname);
|
interp->readFlatField(fname);
|
||||||
|
|||||||
Reference in New Issue
Block a user