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

+ 1, last

parent 14ac8773
No related branches found
No related tags found
1 merge request!1903SphericalDetector -> FlatDetector in almost all examples
......@@ -103,7 +103,7 @@ test::makeSimulation::MiniZPolarizedGISAS(const MultiLayer& sample, const std::s
std::unique_ptr<ScatteringSimulation> test::makeSimulation::BasicGISAS(const MultiLayer& sample)
{
SphericalDetector detector(100, 0, 2 * deg, 100, 0, 2 * deg);
FlatDetector detector(100, 100, 70, 70, stdBeam, FlatDetector::X, 2000, -35, -35);
return std::make_unique<ScatteringSimulation>(stdBeam, sample, detector);
}
......@@ -113,7 +113,7 @@ std::unique_ptr<ScatteringSimulation> test::makeSimulation::SpinflipGISAS(const
{
std::unique_ptr<Beam> beam(stdBeam.clone());
beam->setPolarization(zplus);
SphericalDetector detector(100, 0, 2 * deg, 100, 0, 2 * deg);
FlatDetector detector(100, 100, 70, 70, stdBeam, FlatDetector::X, 2000, -35, -35);
detector.setAnalyzer(-1. * zplus);
return std::make_unique<ScatteringSimulation>(*beam, sample, detector);
}
......
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