threeML.classicMLE.joint_likelihood_set module

class threeML.classicMLE.joint_likelihood_set.JointLikelihoodSet(data_getter, model_getter, n_iterations, iteration_name='interval', preprocessor=None)[source]

Bases: object

go(continue_on_failure=True, compute_covariance=False, verbose=False, **options_for_parallel_computation)[source]
property results

Returns a results set for each model. If there is more than one model, it will return a list of AnalysisResultsSet instances, otherwise it will return one AnalysisResultsSet instance

Returns:

set_minimizer(minimizer)[source]
worker(interval)[source]
write_to(filenames, overwrite=False)[source]

Write the results to one file per model. If you need more control, get the results using the .results property then write each results set by itself.

Parameters:
  • filenames – list of filenames, one per model, or filename (if there is only one model per interval)

  • overwrite – overwrite existing files

Returns:

None

class threeML.classicMLE.joint_likelihood_set.JointLikelihoodSetAnalyzer(get_data, get_model, data_frame, like_data_frame)[source]

Bases: object

A class to help in offline re-analysis of the results obtained with the JointLikelihoodSet class

restore_best_fit_model(interval)[source]