13 #ifndef mitkTimeGridHelper_h
14 #define mitkTimeGridHelper_h
#define MITKMODELFIT_EXPORT
ModelTraitsInterface::ModelResultType ModelResultType
itk::Array< double > TimeGridType
Type defining the time grid used by models.
Find image slices visible on a given plane.
MITKMODELFIT_EXPORT ModelBase::ModelResultType InterpolateSignalToNewTimeGrid(const ModelBase::ModelResultType &inputSignal, const ModelBase::TimeGridType &inputGrid, const ModelBase::TimeGridType &outputGrid)
Interpolates a signal to a new time grid.
MITKMODELFIT_EXPORT ModelBase::TimeGridType GenerateSupersampledTimeGrid(const mitk::ModelBase::TimeGridType &grid, const unsigned int samplingRate)
Supersamples a time grid by a given rate, interpolating linearly between original time steps.
MITKMODELFIT_EXPORT bool TimeGridIsMonotonIncreasing(const ModelBase::TimeGridType timeGrid)
Checks if the time grid is monotonically increasing (timeGrid[n] <= timeGrid[n+1]).