added save pattern, printout of some of the pattern for command line

This commit is contained in:
2019-08-27 16:41:38 +02:00
parent 7abb18e5c8
commit f123a280bb
5 changed files with 85 additions and 15 deletions

View File

@@ -25,6 +25,10 @@ void Detector::loadParameters(const std::string &fname) {
pimpl->retrieveDetectorSetup(fname, 0);
}
void Detector::savePattern(const std::string &fname) {
pimpl->savePattern(fname);
}
Result<std::string> Detector::getHostname(Positions pos) const {
return pimpl->Parallel(&slsDetector::getHostname, pos);
}