Skip to content

ValueError: could not broadcast input array from shape (724,) into shape (725,) #35

Open
@dip16gphy

Description

@dip16gphy

While running the command rfpy_recalc --align=ZRT --fmax=0.5 --gfilt=1. AC07.pkl for gaussian filter with rfpy_recalc script, it throws following error:

Traceback (most recent call last):
File "c:\users\uplc\anaconda3\envs\rfpy\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\uplc\anaconda3\envs\rfpy\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\UPLC\anaconda3\envs\rfpy\Scripts\rfpy_recalc.exe_main
.py", line 7, in
File "c:\users\uplc\anaconda3\envs\rfpy\lib\site-packages\rfpy\scripts\rfpy_recalc.py", line 377, in main
rfdata.deconvolve(
File "c:\users\uplc\anaconda3\envs\rfpy\lib\site-packages\rfpy\rfdata.py", line 851, in deconvolve
rfL, rfQ, rfT = _decon(trL, trQ, trT, trNl, nn, method)
File "c:\users\uplc\anaconda3\envs\rfpy\lib\site-packages\rfpy\rfdata.py", line 752, in _decon
gauss = _gauss_filt(dt, npad, gfilt)
File "c:\users\uplc\anaconda3\envs\rfpy\lib\site-packages\rfpy\rfdata.py", line 669, in _gauss_filt
gauss[nft21:] = np.flip(gauss[1:nft21-1])
ValueError: could not broadcast input array from shape (724,) into shape (725,)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions