eddymotion.model.pet module

Models for nuclear imaging.

eddymotion.model.pet.DEFAULT_TIMEFRAME_MIDPOINT_TOL = 0.01

Time frame tolerance in seconds.

class eddymotion.model.pet.PETModel(timepoints=None, xlim=None, n_ctrl=None, order=3, **kwargs)[source]

Bases: BaseModel

A PET imaging realignment model based on B-Spline approximation.

fit(data, **kwargs)[source]

Fit the model.

property is_fitted
predict(index=None, **kwargs)[source]

Return the corrected volume using B-spline interpolation.