threeML.plugins.UnresolvedExtendedXYLike module

class threeML.plugins.UnresolvedExtendedXYLike.UnresolvedExtendedXYLike(name, x, y, yerr=None, exposure=None, poisson_data=False, quiet=False, source_name=None)[source]

Bases: XYLike

assign_to_source(source_name)[source]

Assign these data to the given source (instead of to the sum of all sources, which is the default)

Parameters:

source_name – name of the source (must be contained in the likelihood model)

Returns:

none

plot(x_label='x', y_label='y', x_scale='linear', y_scale='linear')[source]
set_model(likelihood_model_instance)[source]

Set the model to be used in the joint minimization. Must be a LikelihoodModel instance.

Parameters:

likelihood_model_instance (astromodels.Model) – instance of Model