# edf-tool **Repository Path**: xhji/edf-tool ## Basic Information - **Project Name**: edf-tool - **Description**: init init init - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-12 - **Last Updated**: 2023-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Edf Tool _[English](README.md) | 中文_ Edf Tool 涵盖多种处理edf文件的脚本,用于edf文件的使用扩展。 使用此脚本,您可以: - 修复格式异常的edf文件。 - 将edf大文件切片为索引文件和N个小文件。 它还附带了一个简单的示例,演示如何使用该脚本。 ## 前提条件 - python 3.8 ## 快速开始 此部分向您展示如何准备、构建和运行演示。 ### 构建 1. 安装依赖 ```bash pip3 install pyEDFlib==0.1.28 pip3 install boto3==1.24.28 ``` or ```bash pip3 install -r requirements.txt ``` ### 运行示例 ```bash cd split python3 split_edf_local.py ``` ## 源代码目录 - `repair/edf_repair_unidecode.py`: 修复文件脚本。 - `util/oss_util.py`: OSS工具类 - `split/split_edf_local.py`: 文件切片本地存储脚本 - `split/split_edf_oss.py`: 文件切片上传OSS脚本 - `requirements.txt` 依赖安装 ## 已知问题