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

fitobjective_api -> FlatDet

parent 670fb22d
No related branches found
No related tags found
1 merge request!1903SphericalDetector -> FlatDetector in almost all examples
Pipeline #109963 failed
......@@ -27,7 +27,8 @@ class SimulationBuilder:
sample.addLayer(ba.Layer(material))
beam = ba.Beam(1., 1., 0)
detector = ba.SphericalDetector(self.m_ncol, 0, 1, self.m_nrow, 0, 1)
detector = ba.FlatDetector(self.m_ncol, self.m_nrow, 150, 150,
beam, ba.FlatDetector.X, 2000)
simulation = ba.ScatteringSimulation(beam, sample, detector)
return simulation
......
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