Full code for the preparation of training and test set, as well as implementation of U-Net for semantic segmentation of Low Frequency Extensions of Saturn Kilometric Radiation.
- Folder
- UNET_for_SKR_LFE
- 0_prepare_data.py
- 1_prepare_data.py
- 2_prepare_data.py
- 3_prepare_data.py
- 4_prepare_data.py
- 5_prepare_data.py
- UNET.ipynb
- input_data
- SKR_2004_CJ.sav
- ...
- SKR_2017_001-258_CJ.sav
- 2004_FGM_KRTP_1M.TAB
- ...
- 2017_FGM_KRTP_1M.TAB
- 2004_FGM_KSM_1M.TAB
- ...
- 2004_FGM_KSM_1M.TAB
- output_data
- ML_lfes.json
- ML_Dataset
- flux_images
- pol_images
- mask_images
- UNET_for_SKR_LFE
Need to run prepare data files in order and change variable root
to path to Folder at the top of each script.
Compile trajectory data from given files and store as single .csv file for each year in output_data folder.
Separate data with LFEs fully labelled and extract empty intervals (without LFE) into 5 hour chunks. Save .csv file of start and end times of both LFEs and non-LFEs along with class label to output_data.
Plot and save spectrogram images and corresponding binary mask for each labelled instance of LFE/Non-LFE.
Perform data augmentation and plot and save spectrogram images and corresponding binary mask.
Save .csv file with start and end times of LFEs, Non-LFEs and augmented data along with corresponding latitude median and standard deviation and local time median and standard deviation over each interval.
Separate data into train and test, and save images, masks and labels to folders corresponding to index of each image.
Implementation of modified U-NET.