I tried to launch a jde estimation using one session or two sessions from a xml file previously defined:
pyhrf_jde_estim -c jdeV4_1sess_MM31.xml
pyhrf_jde_estim -c jdeV4_2sess_MM31.xml
all data can be found here :
Your link: http://bfs.ujf-grenoble.fr/files/20bfddc8410820773cfaf4a6cfd5a485/Syn_MM_31_md.zip
As suspect I got the similar errors to glm
One session:
Traceback (most recent call last):
File "/Users/mdojat/.local/bin/pyhrf_jde_estim", line 7, in
execfile(file)
File "/Users/mdojat/Soft/pyhrf/bin/pyhrf_jde_estim", line 9, in
DEFAULT_CFG_FILE, PROFILE_FILE,'JDE_MCMC')
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/ui/treatment.py", line 742, in run_pyhrf_cmd_treatment
treatment = xmlio.fromXML(sXml)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 1075, in fromXML
return handler.parseXMLString(s)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 406, in parseXMLString
return xmlHandler.rootTagDOMReader(walker) # An XML document always starts with the root tag
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 431, in rootTagDOMReader
data[name] = self.readDOMData(walker)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 472, in readDOMData
paramDict = self.tagDOMReaders[self.TYPE_LABEL_DICT](walker, self)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 1032, in dictTagDOMReader
result[nn.tagName] = xmlHandler.readDOMData(walker)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/xmlio/xmlbase.py", line 543, in readDOMData
obj = eval('%s(*_paramDict)' %(func_str))
File "", line 1, in
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/tools/misc.py", line 369, in call
return self.fn(self.cls, *args, *_kwargs)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/core.py", line 853, in from_vol_ui
m, mmo, mlf, b, ss = load_vol_bold_and_mask(bold_files, mask_file)
File "/Users/mdojat/Soft/pyhrf/python/pyhrf/core.py", line 261, in load_vol_bold_and_mask
raise Exception("Mask is not n-ary (%s)" %mask_file)
Exception: Mask is not n-ary (/Users/mdojat/Data/data_SynesDec2013/MM31/Syn_MM_31_retino/439290030_701_EPI-Localizer-LL_20131205/sraSynes_MM_031_WIP_EPI-Localizer-LL_SENSE.nii)
Two sessions
/Users/mdojat/Soft/pyhrf/python/pyhrf/jde/beta.py:3621: RuntimeWarning: underflow encountered in exp
temp = np.exp(log_P_NewBeta - log_P_CurrentBeta + log_g_cur - log_g_new)
/Users/mdojat/Soft/pyhrf/python/pyhrf/jde/beta.py:3621: RuntimeWarning: overflow encountered in exp
temp = np.exp(log_P_NewBeta - log_P_CurrentBeta + log_g_cur - log_g_new)