{"id":14225585,"url":"https://github.com/holgern/pyedflib","last_synced_at":"2025-05-14T20:06:38.381Z","repository":{"id":40404614,"uuid":"42585968","full_name":"holgern/pyedflib","owner":"holgern","description":"pyedflib is a python library to read/write EDF+/BDF+ files based on EDFlib. ","archived":false,"fork":false,"pushed_at":"2025-03-02T20:59:19.000Z","size":2031,"stargazers_count":228,"open_issues_count":17,"forks_count":130,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-06T13:05:07.637Z","etag":null,"topics":["bdf","edf","edf-files","python"],"latest_commit_sha":null,"homepage":"http://pyedflib.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holgern.png","metadata":{"files":{"readme":"README-edflib.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-16T12:33:42.000Z","updated_at":"2025-04-05T12:08:01.000Z","dependencies_parsed_at":"2023-10-04T15:00:43.502Z","dependency_job_id":"8d1cab20-1d92-4c17-80e6-58761fae7562","html_url":"https://github.com/holgern/pyedflib","commit_stats":{"total_commits":498,"total_committers":33,"mean_commits":"15.090909090909092","dds":0.5261044176706827,"last_synced_commit":"3094c3a671f7e8b7f712c01ab4ae4a5ac7704a15"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpyedflib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpyedflib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpyedflib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpyedflib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holgern","download_url":"https://codeload.github.com/holgern/pyedflib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741147,"owners_count":21154251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bdf","edf","edf-files","python"],"created_at":"2024-08-20T01:01:16.640Z","updated_at":"2025-04-13T15:56:56.689Z","avatar_url":"https://github.com/holgern.png","language":"Python","readme":"# EDFlib\n\nEDFlib is a programming library for C/C++ for reading and writing EDF+ and BDF+ files.\nIt also reads \"old style\" EDF and BDF files.\nEDF means European Data Format. BDF is the 24-bits version of EDF.\n\n\n## Usage\n\nThe library consists of only two files: `edflib.h` and `edflib.c`.\n\nIn order to use EDFlib, copy these two files to your project.\nInclude the file `edflib.h` in every source file from where you want to access the library.\n\nDon't forget to tell your compiler that it must compile and link `edflib.c` (add it to\nyour makefile or buildscript). `edflib.c` needs to be compiled with the options\n`-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE`.\n\nFor example:\n\n`gcc -Wall -Wextra -Wshadow -Wformat-nonliteral -Wformat-security -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE test_edflib.c edflib.c -lm -o test_edflib`\n\nCompilation has been tested using GCC on Linux, Mingw-w64 on Windows, and LLVM GCC on OS X (Yosemite).\n\nTo understand how to use the library, read the comments in `edflib.h`.\n\n\n## Examples\n\nTo build the examples: `make`\n\nEach \"generator\" example creates an EDF+ or BDF+ file with sample signals.\n\n`test_generator` shows how to use most of the functions provided by the library and generates an\nEDF+ or BDF+ testfile with several sample signals.\n\n`sine_generator` creates a BDF+ file containing the signal \"sine\", a 1 Hz sinusoidal waveform with a\nsample frequency of 2048 Hz.\n\n`sweep_generator` creates a linear or logarithmic sweep through a range of frequencies in EDF+ or\nBDF+ format.\n\nUse EDFbrowser to view these files: https://www.teuniz.net/edfbrowser/\n\n`test_edflib \u003cfilename\u003e \u003csignalnumber\u003e` will print the properties of the EDF/BDF header, the\nannotations, and the values of 200 samples of the chosen signal. For example, running\n`test_generator` will produce the file `test_generator.edf`. Running `test_edflib test_generator.edf 6`\nwill show the header and first 200 samples of the \"noise\" signal:\n`75  6  27  77  37  30  35  96  62  69  34  15  51  56  69  68  80  45 ...`\n\n\n## License\n\nCopyright (c) 2009, 2010, 2011, 2013, 2014, 2015 Teunis van Beelen\n              2017 Holger Nahrstaedt\nAll rights reserved.\n\nemail: teuniz@gmail.com\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n     * Redistributions of source code must retain the above copyright\n       notice, this list of conditions and the following disclaimer.\n     * Redistributions in binary form must reproduce the above copyright\n       notice, this list of conditions and the following disclaimer in the\n       documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY Teunis van Beelen ''AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL Teunis van Beelen BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgern%2Fpyedflib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholgern%2Fpyedflib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgern%2Fpyedflib/lists"}