Skip to content
Snippets Groups Projects
Commit 4c951171 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

repaired last test, uncommented spec scan export

parent 59dd860a
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ std::string defineScanResolution(const ScanResolution& scan) {
std::string defineAngularSpecScan(const AngularSpecScan& scan) {
std::ostringstream result;
result << "\n"
<< indent() << "# Defining specular scan:\n"
<< indent() << "# Define specular scan:\n"
<< indent() << "axis = " << scan.coordinateAxis()->pyString("rad", 17 /*TODO*/)
<< "\n"
<< indent() << "scan = "
......@@ -93,18 +93,14 @@ std::string defineAngularSpecScan(const AngularSpecScan& scan) {
result << defineFootprintFactor(*scan.footprintFactor());
result << indent() << "scan.setFootprintFactor(footprint)\n";
}
/*
if (scan.angleResolution()) {
result << "\n" << indent() << "# Defining angular resolution\n";
result << defineScanResolution(*scan.angleResolution()) << "\n";
result << indent() << "scan.setAngleResolution(resolution)\n";
}
if (scan.wavelengthResolution()) {
result << "\n" << indent() << "# Defining wavelength resolution\n";
result << defineScanResolution(*scan.wavelengthResolution()) << "\n";
result << indent() << "scan.setWavelengthResolution(resolution)\n";
}
*/
return result.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment