Skip to content
Snippets Groups Projects
Commit 0413c8b1 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

print ba.OffspecDetector

parent 014ec0e4
No related branches found
No related tags found
2 merge requests!1847rebase on latest r21,!1840Fix exporting Offspec simulation to script
Pipeline #108100 passed
......@@ -367,6 +367,7 @@ std::string defineOffspecSimulation(const OffspecSimulation& simulation)
result << defineBeamScan(*simulation.scan());
const OffspecDetector& detector = simulation.detector();
result << indent() << "detector = ba.OffspecDetector(";
result << std::setprecision(12);
result << detector.axis(0).size() << ", " << Py::Fmt::printDegrees(detector.axis(0).min())
<< ", " << Py::Fmt::printDegrees(detector.axis(0).max()) << ", "
......
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