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

Refactor the codebase so that I can generate automatically the raw figure for the paper #4

Closed
yacineMahdid opened this issue Mar 18, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@yacineMahdid
Copy link
Contributor

By raw, I meant not polished but in a good shape to be cut and paste into inkscape (the software I am using to edit pictures). Here I should replicate what I had before.

@yacineMahdid yacineMahdid added the enhancement New feature or request label Mar 18, 2020
@yacineMahdid yacineMahdid self-assigned this Mar 18, 2020
@yacineMahdid
Copy link
Contributor Author

Good news I already have the spatially downsampled data for all the headset. This can be used directly to generate all the figure in one go.

@yacineMahdid
Copy link
Contributor Author

yacineMahdid commented Mar 18, 2020

TODO

  • Modify NeuroAlgo Recording class to be able to load a .mat file as well as a .set file
  • Setup the analysis pipeline to have the same parameters as we are using in the paper
  • Run the full analysis remotely on the lab computer on all frequency bands

At this point I realised that I have to reorder all the headset, however I only made my reordering function work for the egi129. Will need to create a cassette for the other headset too otherwise this is going to be a mess. They are not ordered in a FTCPO order by default.

  • Setup the figure generation code to churn through the /result folder
  • Reproduce all the figures in the paper at the frequency band at alpha ( + full band for spectrogram)
  • create the .csv with the FTCPO ordering for all headsets.
  • test the reordering with all the headsets.
  • make a module to only take the left or right part of the brain
  • figure out a way to scale automatically by groups of four in the figures of all headsets or 2 in the egi full figure.

At this point I can automatically create the figures, I just need to automate it for wPLI and dPLI together without making the code a big mess and generating .png file that are exactly of the right size.

  • figure out how to scale the figure to be of the approximate size we need to cut it and paste it in inkscape.
  • figure out how to save the .png version of the figure instead of the .fig
  • create the wPLI and dPLI figures at all frequency bands for all headset (including the downsampled version)
  • figure out wtf should I do with 108 plots?

At this point the pipeline should be documented well enough so that I can apply it to generate the analysis for all the other frequency bands.

@yacineMahdid yacineMahdid moved this from To do to In progress in March 20 Responding to Reviewers Deadline Mar 18, 2020
March 20 Responding to Reviewers Deadline automation moved this from In progress to Done Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant