Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GEExam.DMIinjExam

GEExam.DMIinjExam(
    BASE_FOLDER,
    DATA_FOLDER=None,
    OUTPUT_FOLDER=None,
    ANATOMICAL_series=None,
)

DMI exam for an intravenous injection, splitting series into pre-/post-injection.

Attributes

NameDescription
WASHIN_series
injection_time
last_MRS
last_MRSI
normalisation_factor
post_MRS
post_MRSI
pre_MRS
pre_MRSI
washin

Methods

NameDescription
load_all_seriesLoad all series and split MRS/MRSI series into pre- and post-injection groups.
plot_MRS_over_timePlot phased MRS spectra from all series over time relative to injection.

load_all_series

GEExam.DMIinjExam.load_all_series(overwrite=False)

Load all series and split MRS/MRSI series into pre- and post-injection groups.

Parameters

NameTypeDescriptionDefault
overwriteboolIf True, reload series that are already loaded, by default False.False

plot_MRS_over_time

GEExam.DMIinjExam.plot_MRS_over_time(phase_params=None, plot_params=None)

Plot phased MRS spectra from all series over time relative to injection.

Parameters

NameTypeDescriptionDefault
phase_paramsdictKeyword arguments passed to each series’ phase_avg_spec.None
plot_paramsdictKeyword arguments passed to plot_spectra_over_time.None