Error with FORC BE Processing

17 views
Skip to first unread message

Rama Vasudevan

unread,
Sep 4, 2018, 9:44:26 AM9/4/18
to pycroscopy
Attempting to fit loops to BE FORC datasets with on and off-field capture results in an Index Error (reproduced below).

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-12-ccb85039718b> in <module>()
      1 loop_fitter = px.analysis.BELoopFitter(h5_sho_fit, parallel=True)
----> 2 h5_loop_guess = loop_fitter.do_guess(processors=max_cores, max_mem=max_mem)

~\PycharmProjects\pycroscopy\pycroscopy\analysis\be_loop_fitter.py in do_guess(self, max_mem, processors, get_loop_parameters)
    227         Get the dc_offset and data_chunk for the first slice
    228         '''
--> 229         self._get_dc_offset()
    230         self._get_data_chunk()
    231 

~\PycharmProjects\pycroscopy\pycroscopy\analysis\be_loop_fitter.py in _get_dc_offset(self)
    765             print(fit_dim_slice)
    766 
--> 767         self.fit_dim_vec = np.squeeze(spec_vals_nd[tuple(fit_dim_slice)])
    768 
    769         return

IndexError: too many indices for array
Reply all
Reply to author
Forward
0 new messages