QString VESPERSSingleElementVortexDetector::details() const { return QString("%1\nAcquisition Time: %2 seconds\nMaximum Energy: %3 keV\nPeaking Time: %4 us\n\n") .arg(description()) .arg(acquisitionTime()) .arg(maximumEnergy()) .arg(peakingTime()); }
void AMDetector::setLastMeasurementAsDarkCurrent() { if (canDoDarkCurrentCorrection()) { double newTime = acquisitionTime(); double newValue = double(singleReading()) / newTime; updateDarkCurrentTime(newTime); updateDarkCurrentValue(newValue); updateDarkCurrentValidState(true); } }
QString IDEAS13ElementGeDetector::details() const { return QString("%1\nAcquisition Time: %2 seconds\n\n") .arg(description()) .arg(acquisitionTime()); }
AMDetectorInfo AMDetector::toInfo() const { return AMDetectorInfo(name(), description(), units(), acquisitionTime(), readMode()); }