-
Notifications
You must be signed in to change notification settings - Fork 126
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
Request to de-identify more fields with highlevel.anonymize_edf() #131
Comments
you can de-identify any field you like by just passing it to the function to_remove = ['patientname', 'birthdate', 'admin_code']
new_values = ["xxx", 0, 'test']
anonymize_edf(edf_file, to_remove=to_remove, new_values=new_values, verify=False, verbose=False) |
Thank you for letting me know. |
Also, I would like to report one peculiarity. Not an issue, strictly speaking. |
What error message is EDFBrowser giving? Can you send a sample file? The local patient information field (which combines a couple of fields like admincode, name, etc) can only be 80 characters in total (see EDF+ specs). It might be that you exceed this limit. I'm not sure if pyedflib gives a warning in this case, I need to check. |
Would it be possible to have more fields, which can be de-identified.
Now it is Subject name and BirthDate.
Could you please add Subject code, Admin code, Additional Info, and Technician to the list?
You never know what to expect - EEG technicians might use different fields occasionally - there are no strict guidelines.
At least, Subject Code, please.
Thank you.
The text was updated successfully, but these errors were encountered: