#NEWLINE# def setup_elastic_model( self ) : #NEWLINE# #INDENT# '\n        setup parameters related to Elastic model\n        ' #NEWLINE# param_hints_elastic = [ 'e_offset' , 'e_linear' , 'e_quadratic' , 'fwhm_offset' , 'fwhm_fanoprime' , 'coherent_sct_energy' ] #NEWLINE# elastic = ElasticModel ( prefix = 'elastic_' ) #NEWLINE# logger . debug ( 'Started setting up parameters for elastic model' ) #NEWLINE# _copy_model_param_hints ( elastic , self . compton_param , param_hints_elastic ) #NEWLINE# param_hints_elastic . append ( 'coherent_sct_amplitude' ) #NEWLINE# for item in param_hints_elastic : #NEWLINE# #INDENT# if ( item in self . params . keys ( ) ) : #NEWLINE# #INDENT# _set_parameter_hint ( item , self . params [ item ] , elastic ) #NEWLINE# #UNINDENT# #UNINDENT# elastic . set_param_hint ( 'epsilon' , value = self . epsilon , vary = False ) #NEWLINE# logger . debug ( ' Finished setting up parameters for elastic model.' ) #NEWLINE# self . elastic = elastic