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

adding edfWrite? #4

Open
bnicenboim opened this issue Nov 30, 2018 · 7 comments
Open

adding edfWrite? #4

bnicenboim opened this issue Nov 30, 2018 · 7 comments

Comments

@bnicenboim
Copy link

Hi, Thanks for the useful package!
I know it's edfReader, but it would be nice if the package would allow to write back edf files after modifying the edf objects that edfReader produces.

@Pisca46
Copy link
Owner

Pisca46 commented Feb 25, 2019 via email

@a-hurst
Copy link

a-hurst commented Nov 26, 2020

@Pisca46 I recently wrote a pure-Python EDF+ writer for getting EDFs out of Python and into R, and I feel pretty confident the code wouldn't be too difficult to bring over to R, so I'd be willing to take a crack at a pull request if you're interested!

@bnicenboim What were you imagining the API to be like for this function? I'm imagining a function that takes a dataframe and uses the data and column names to generate the file, with extra arguments for annotations and for specifying file metadata (could be an edfHeader object or a list). That would mean you could import (or generate) EEG data from other formats/packages in R and still be able to write them out to EDF.

@bnicenboim
Copy link
Author

yeah that would be great, I guess it should take the metadata as list, and probably a matrix (to speed things up) with the eeg data. I'm actually storing the EEG data in data.tables, since they are faster than data frames or tibbles. So a data table or a matrix would be great from my side.

@Pisca46
Copy link
Owner

Pisca46 commented Dec 17, 2020 via email

@a-hurst
Copy link

a-hurst commented Dec 20, 2020

@Pisca46 Thank you for your response! I fully understand no longer having time or interest in maintaining a package you no longer need yourself.

To make sure your hard work on edfReader is preserved for future versions of R, would you be open to transferring maintenance of the package to someone else? All that's required of you is sending a one-sentence email to CRAN-submissions@R-project.org (from the email address you use for the package), containing the name and email address of the person you're transferring maintainership to. CRAN will take care of the rest.

If either @craddm (of the eegUtils project) or @bnicenboim are interested I'll defer to them, but if not I'd be happy to do it myself. I've taken over maintenance of another abandoned CRAN pacakge before so I know what's involved!

@bnicenboim
Copy link
Author

@a-hurst, I'll be glad if you take over!

@Pisca46
Copy link
Owner

Pisca46 commented Jan 5, 2021 via email

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

3 participants