Quality_Relabel/README.md
2022-03-30 15:27:44 +08:00

68 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Quality_Relabel
## 文件目录
```bash
Quality_Relabel 主目录
├── Data 数据
│ ├── BCG
│ ├── BCG_label
│ ├── ECG
│ └── ECG_label
├── history 存放历史记录
│ └── history.log 历史记录
├── utils 基本库
│ ├── Preprocessing.py BCG数据处理工具库
│ └── Prepare_Data.py 数据集加载与处理
├── Main_Quality_Relabel.py 启动入口
└── README.md 项目说明
```
## 测试数据集
670 [测试数据集](https://kod.server.marques22.com/#s/799gDeDw)
## 上色规则
| 事件代码 | 事件 | 颜色 |
| :------: | :------------: | :--: |
| 0 | 背景 | 蓝色 |
| 1 | 低通气 | 粉色 |
| 2 | 中枢性呼吸暂停 | 橙色 |
| 3 | 阻塞型呼吸暂停 | 红色 |
| 4 | 混合型呼吸暂停 | 灰色 |
| 5 | 血氧饱和度下降 | 绿色 |
## 注意事项
<img src="graph/note.png" style="zoom: 80%;" />
## 偏移量计算
当心晓有一段事件不可用时,需要手动填入偏移量
<img src="graph/calc.png" style="zoom: 80%;" />
## 程序流程框图
![流程框图](graph/Quality_Relabel.svg)
## TODO
2022-03-27 22:27
1. ~~完成启动入口(预计半天)~~
2. ~~完成参数说明(预计半天)~~
3. 导出PSG所有标签(额外的工作)
4. 迁移BCG标签中文字符切换目前已经完成目前存在ubuntu需要文件重命名(预计一小时)
5. ~~完成日志记录模块(预计半天)~~