mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 09:15:54 +01:00
added save pattern, printout of some of the pattern for command line
This commit is contained in:
@@ -999,6 +999,9 @@ class Detector {
|
||||
/** [CTB] */
|
||||
void setPattern(const std::string &fname, Positions pos = {});
|
||||
|
||||
/** [CTB] */
|
||||
void savePattern(const std::string &fname);
|
||||
|
||||
/** [CTB] */
|
||||
Result<uint64_t> getPatternIOControl(Positions pos = {}) const;
|
||||
|
||||
|
||||
@@ -1862,6 +1862,12 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
*/
|
||||
void setPattern(const std::string &fname, int detPos = -1); //
|
||||
|
||||
/**
|
||||
* Executes and saves pattern to file (CTB/ Moench)
|
||||
* @param fname pattern file to save to
|
||||
*/
|
||||
void savePattern(const std::string &fname); //
|
||||
|
||||
/**
|
||||
* Sets pattern IO control (CTB/ Moench)
|
||||
* @param word 64bit word to be written, -1 gets
|
||||
|
||||
Reference in New Issue
Block a user