Author: bugman Date: Tue Jul 22 14:33:18 2014 New Revision: 24605 URL: http://svn.gna.org/viewcvs/relax?rev=24605&view=rev Log: Implemented the J(w) mapping analysis get_param_names() API method. This simply returns the hardcoded list of 3 parameters of the model, and allows the minimise.calculate user function to operate. Modified: branches/zooming_grid_search/specific_analyses/jw_mapping/api.py Modified: branches/zooming_grid_search/specific_analyses/jw_mapping/api.py URL: http://svn.gna.org/viewcvs/relax/branches/zooming_grid_search/specific_analyses/jw_mapping/api.py?rev=24605&r1=24604&r2=24605&view=diff ============================================================================== --- branches/zooming_grid_search/specific_analyses/jw_mapping/api.py (original) +++ branches/zooming_grid_search/specific_analyses/jw_mapping/api.py Tue Jul 22 14:33:18 2014 @@ -242,6 +242,19 @@ setattr(spin, name, None) + def get_param_names(self, model_info=None): + """Return a vector of parameter names. + + @keyword model_info: The spin container and the spin ID string from the _model_loop_spin() method. + @type model_info: SpinContainer instance, str + @return: The vector of parameter names. + @rtype: list of str + """ + + # Return the fixed list. + return ['j0', 'jwx', 'jwh'] + + def overfit_deselect(self, data_check=True, verbose=True): """Deselect spins which have insufficient data to support calculation.