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());
}
Пример #2
0
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());
}
Пример #4
0
AMDetectorInfo AMDetector::toInfo() const {
    return AMDetectorInfo(name(), description(), units(), acquisitionTime(), readMode());
}