When going through the python demo I am gettting the following error running this line:
|
"OsipiBase.osipi_fit(algorithm1,signal_1dir, np.unique(bval))\n" |
OsipiBase.osipi_fit(algorithm1,signal_1dir, np.unique(bval))
ValueError: b-values must be provided at initialization (__init__), not at fit-time. Pass bvalues to the constructor: OsipiBase(bvalues=..., algorithm=...)
If I change the line in question to something like:
base = OsipiBase(bvalues=bval,algorithm=algorithm1,data=signal_1dir)
base.osipi_fit()
The following error is caused by the first line:
RuntimeError: Root folder not found in PYTHONPATH. Please ensure the project root is in sys.path.
Perhaps a combination of old syntax and an environment that is not set up correctly on my side.
When going through the python demo I am gettting the following error running this line:
TF2.4_IVIM-MRI_CodeCollection/doc/Introduction_to_TF24_IVIM-MRI_CodeCollection_github_and_IVIM_Analysis_using_Python.ipynb
Line 555 in f91b53c
ValueError: b-values must be provided at initialization (__init__), not at fit-time. Pass bvalues to the constructor: OsipiBase(bvalues=..., algorithm=...)If I change the line in question to something like:
The following error is caused by the first line:
RuntimeError: Root folder not found in PYTHONPATH. Please ensure the project root is in sys.path.Perhaps a combination of old syntax and an environment that is not set up correctly on my side.