mail[sr #3071] Implementation of Tollinger/Kay dispersion model (2001)


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels E. Linnet on September 02, 2013 - 15:23:
Follow-up Comment #16, sr #3071 (project relax):

Help to figure out indexing of parameters in target function.

Hi Edward.
I am a little confused how to figure out how the indexing of parameters is
working.

I have added a saved state file.

And to trigger the problem:
relax 2_fit_TSMFK01.py

------ 2_fit_TSMFK01.py --------
import os
set_cwd = os.getcwd()

state.load(state='ini_setup_TSMFK01', dir=None, force=False)

#- The 'TSMFK01' model -
set_dir = os.path.join(set_cwd, 'TSMFK01')

pipe.copy(pipe_from='base pipe', pipe_to='TSMFK01', bundle_to='relax_disp')
pipe.switch(pipe_name='TSMFK01')
relax_disp.select_model(model='TSMFK01')
value.copy(pipe_from='R2eff', pipe_to='TSMFK01', param='r2eff')
grid_search(lower=None, upper=None, inc=21, constraints=True, verbosity=1)
-------------------

  File "C:WinPython27relaxrelax_disptarget_functionsrelax_disp.py", line 1059,
in func_TSMFK01
    dw = params[self.end_index[1]:self.end_index[2]]
IndexError: list index out of range









(file #18830, file #18831)
    _______________________________________________________

Additional Item Attachment:

File name: ini_setup_TSMFK01.bz2          Size:158 KB
File name: 2_fit_TSMFK01.py               Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?3071>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Tue Sep 03 08:40:06 2013