This repository contains Python scripts for training voice map classification and processing voice map data generated from FonaDyn.
-
load_csv.py:
- Function: Load VRP files generated by FonaDyn.
- Functions:
collect_VRP_data_v1
: Import VRPs (default function).collect_VRP_data_v2
: Import VRPs and find overlapping areas.collect_VRP_data_v3
: Import VRPs by surgical types and find overlapping areas.
-
train_cluster.py:
- Function: Train phonation types clusters.
- Description: This script provides several grouping conditions for training the cluster. After training, the results will be saved as a CSV file. This CSV file extends the original VRP file generated from FonaDyn by adding cluster number and cluster index to the end of the last few columns.
-
plot_csv.py:
- Function: Plot a single voice map for one person using the CSV file.
-
make_Union_map_vrp.py:
- Function: Create FonaDyn-specific voice maps for all subjects.
- Description: Uses a MATLAB script (
plot_VRP.m
) to generate voice maps, which are then saved as PDFs.
-
pdf_merge.py:
- Function: Merge PDF files.
-
Clone the repository:
git clone https://github.com/username/Process-Voice-Map-data-py.git
-
Navigate to the dir:
cd Process-Voice-Map-data-py
-
Install the required dependencies:
pip install -r requirements.txt