get_gcomponent_comparison

threadcount.fit.get_gcomponent_comparison(fit)[source]

Determine component comparison to this highest flux gaussian.

This function finds the highest flux gaussian (we will name it g0), and returns a list for the other components containing for each entry: [g#_flux/g0_flux, g#_center - g0_center].

Parameters:

fit (lmfit.model.ModelResult) – The ModelResult to analyze the components for.

Returns:

A list containing the list [g#_flux/g0_flux, g#_center - g0_center] for each component g# that is not g0.

Return type:

list of [float,float]