MCPcopy Create free account
hub / github.com/MITK/MITK / DurationInSeconds

Function DurationInSeconds

Modules/PET/src/mitkSUVCalculationHelper.cpp:97–100  ·  view source on GitHub ↗

Returns (reference - injection) in seconds (the shared util reports ms).

Source from the content-addressed store, hash-verified

95
96 // Returns (reference - injection) in seconds (the shared util reports ms).
97 double DurationInSeconds(const OFDateTime& injection, const OFDateTime& reference)
98 {
99 return mitk::ComputeMiliSecDuration(injection, reference) / 1000.0;
100 }
101
102 // Resolve the radiopharmaceutical injection time into an absolute OFDateTime.
103 // Returns (parsed time, derivedFromTimeOnlyTag). The bool tells the caller

Callers 2

EqualAtSecondResolutionFunction · 0.85
DeduceDecayCorrectionMethod · 0.85

Calls 1

ComputeMiliSecDurationFunction · 0.85

Tested by

no test coverage detected