Open tmorshed opened 1 year ago
figure out if we want a plotting object or append as method to other object next step is a proposed API for plotting
We can approach it in two ways:
I think the first option would make more sense if the data to be plotted isn't too complex. This would be similar to mne.evoked.plot()
method in the MNE library.
In the case of more complex plots (for example 3D source localization) the second way would be more ideal. This is similar to the Brain object in mne (mne.viz.Brain
).
What are people's thoughts? How do you think we should proceed?
John Recommendation: For simpler figures taking only a few lines of code then write them explicitly in examples, for more complex plots with many lines then have them encapsulated in methods/functions
Current focus to improve the figures in eg 003r and eg 004r
To do for Parsa
Will make into MNE object to use MNE visualization funcitons.
Can also add the montage data to use .plot_joint()
more comprehensive plots.
Added some code to generate clean-up visualizations:
However, having issues when trying to build the html files:
Extension error:
Here is a summary of the problems encountered when running the examples
Unexpected failing examples:
/external/rprshnas01/netdata_kcni/jglab/MemberSpaces/po/lab/repos/whobpyt_po_fork/examples/eg004r__fitting_JR_example.py failed leaving traceback:
Traceback (most recent call last):
File "/external/rprshnas01/netdata_kcni/jglab/MemberSpaces/po/lab/repos/whobpyt_po_fork/examples/eg004r__fitting_JR_example.py", line 58, in <module>
eeg_data_all = np.load(eeg_file)
File "/external/rprshnas01/netdata_kcni/jglab/MemberSpaces/po/lab/envs/whobpyt/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '../Tepit/eeg_data.npy'
Which seems to happen because the example data is being downloaded from a gdrive which doesn't have public access:
I think the folder is owned by @JohnWangDataAnalyst . Can you adjust the access please?
@P-Oveisi is going to submit the PR #135 on Wed
Figure out the data structure.
Physiological analytics
Phase plane analysis
PLS method