version 1.0.0-rc.27

This commit is contained in:
2024-12-02 21:17:14 +01:00
parent c3d6c280b8
commit 71290f374a
180 changed files with 841 additions and 698 deletions

View File

@@ -6,6 +6,7 @@
InstrumentMetadata::InstrumentMetadata() {
pulsed_source = false;
electron_source = false;
}
InstrumentMetadata &InstrumentMetadata::SourceName(const std::string &input) {
@@ -28,6 +29,15 @@ InstrumentMetadata &InstrumentMetadata::PulsedSource(bool input) {
return *this;
}
InstrumentMetadata & InstrumentMetadata::ElectronSource(bool input) {
electron_source = input;
return *this;
}
bool InstrumentMetadata::IsElectronSource() const {
return electron_source;
}
std::string InstrumentMetadata::GetSourceName() const {
return source_name;
}