specparam.params.periodic.compute_peak_height

specparam.params.periodic.compute_peak_height(model, peak_ind, spacing, operation)[source]

Compute peak heights, based on specified approach & spacing.

Parameters:
modelSpectralModel

Model object, post fitting.

peak_indint

Index of which peak to compute height for.

spacing{‘log’, ‘linear’}

Spacing to extract the data components in.

operation{‘subtract’, ‘divide’}

Approach to take to compute the peak height measure.

Returns:
peak_heightfloat

Computed peak height.

Examples using specparam.params.periodic.compute_peak_height

Component Combinations

Component Combinations