# coding: utf-8 import sherpa.ui as ui ui.load_data("default_interp", "load_template_with_interpolation-bb_data.dat") ui.load_template_model('bb1', "bb_index.dat") ui.set_model("default_interp", bb1) ui.set_method('gridsearch') ui.set_method_opt('sequence', ui.get_model_component('bb1').parvals) ui.fit("default_interp")
# coding: utf-8 import sherpa.ui as ui ui.load_data("bb_data.dat") ui.load_template_model('bb1', "bb_index.dat", template_interpolator_name=None) ui.set_method('gridsearch') ui.set_method_opt('sequence', [[2234, 0],[3512,0]]) ui.set_source('bb1') ui.fit()
# coding: utf-8 import sherpa.ui as ui ui.load_data("default_interp", "bb_data.dat") ui.load_template_model('bb1', "bb_index.dat") ui.set_model("default_interp", bb1) ui.set_method('gridsearch') ui.set_method_opt('sequence', ui.get_model_component('bb1').parvals) ui.fit("default_interp")
# coding: utf-8 import sherpa.ui as ui ui.load_data("load_template_without_interpolation-bb_data.dat") ui.load_template_model('bb1', "bb_index.dat", template_interpolator_name=None) ui.set_method('gridsearch') ui.set_method_opt('sequence', [[2000, 0], [2100, 0]]) ui.set_source('bb1') ui.fit()
# coding: utf-8 import sherpa.ui as ui ui.load_data("load_template_without_interpolation-bb_data.dat") ui.load_template_model('bb1', "bb_index.dat", template_interpolator_name=None) ui.set_method('gridsearch') ui.set_method_opt('sequence', [[2234, 0],[3512,0]]) ui.set_source('bb1') ui.fit()
# coding: utf-8 import sherpa.ui as ui ui.load_data("bb_data.dat") ui.load_template_model('bb1', "bb_index.dat", template_interpolator_name=None) ui.set_method('gridsearch') ui.set_method_opt('sequence', [[2000, 0], [2100,0]]) ui.set_source('bb1') ui.fit()