Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVC Compute module : trial plotting doesn't plot raw data if plotting again after selecting processed or both #28

Open
hugodumoulin opened this issue Jun 5, 2024 · 0 comments

Comments

@hugodumoulin
Copy link

When asked which data to plot after a trial or after sating yes to plotting again, if you do not use the "plot raw only" option, it will become impossible to "plot raw only" for this trial and the next ones unless you reload the module.

image

This is a simple fix, the "plot raw only" option was missed in /processing/compute_mvc.py line 357 if statement :

if plot != "c":
    if plot == "p":
        data = processed_data
        legend = ["Processed"]
    elif plot == "b":
        data = [raw_data, processed_data]
        legend = ["Raw data", "Processed"]

just add

elif plot == "pr":
    data = raw_data
    legend = ["Raw data"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant