{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Introduction\n\nThis is an introductory Notebook for **[BirdCLEF 2023](https://www.kaggle.com/competitions/birdclef-2023)** new competition.   \n\n### Past BirdCLEF competitions\n\nKaggle conducted similar competitions in past years, and those attracted a large interest from the community. Here are the links for the last two years competitions: \n\n- [BirdCLEF 2021](https://www.kaggle.com/c/birdclef-2021)\n- [BirdCLEF 2022](https://www.kaggle.com/c/birdclef-2022)\n\n\n<img src=\"https://www.imageclef.org/system/files/bird_soundsc.jpg\" width=400></img>\n\n### Utility scripts\n\nFor clarity, functions are extracted as part of 3 utility scripts (Python modules):\n* https://www.kaggle.com/code/gpreda/data-quality-stats/settings - for missing, unique, most frequent values  \n* https://www.kaggle.com/code/gpreda/plot-utils - for custom count plot, wordcloud  \n* https://www.kaggle.com/code/gpreda/data-quality-stats/ - for sounds play, soundwave and spectrogram  \n\n### Content  \n\nThe Notebook is structured as following:\n- <a href='#1'>Prepare analysis</a>  \n  - <a href='#11'>Packages</a>  \n  - <a href='#12'>Read metadata (csv) files</a>  \n  - <a href='#13'>Quicly glimpse the metadata files</a>   \n  - <a href='#14'>The sounds data</a>   \n- <a href='#2'>Deep dive into the metadata</a>\n  - <a href='#21'>Utility functions</a>  \n  - <a href='#22'>Few stats</a>  \n  - <a href='#23'>Univariate analysis</a>  \n  - <a href='#24'>Names, species words distribution</a>   \n- <a href='#3'>Sample sounds analysis</a>  \n  - <a href='#31'>Sound utility functions</a>  \n  - <a href='#32'>Test the sound utility functions</a>   \n  - <a href='#33'>Check few sounds</a>  \n  \n","metadata":{}},{"cell_type":"markdown","source":"# <a id='1'>Prepare analysis</a>\n\nHere we prepare the packages used for the analysis (more in the added utility functions section) and we read the metadata files (csv files).","metadata":{}},{"cell_type":"markdown","source":"## <a id='11'>Packages</a>","metadata":{}},{"cell_type":"code","source":"import os\nimport sys\nimport numpy as np\nimport pandas as pd","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:51.688156Z","iopub.execute_input":"2023-04-20T06:02:51.688749Z","iopub.status.idle":"2023-04-20T06:02:51.717492Z","shell.execute_reply.started":"2023-04-20T06:02:51.688696Z","shell.execute_reply":"2023-04-20T06:02:51.716392Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='12'>Read metadata (csv) files</a>","metadata":{}},{"cell_type":"code","source":"ebird_taxonomy_df = pd.read_csv(\"/kaggle/input/birdclef-2023/eBird_Taxonomy_v2021.csv\")\ntrain_metadata_df = pd.read_csv(\"/kaggle/input/birdclef-2023/train_metadata.csv\")\nsample_submission_df = pd.read_csv(\"/kaggle/input/birdclef-2023/sample_submission.csv\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:51.719165Z","iopub.execute_input":"2023-04-20T06:02:51.720465Z","iopub.status.idle":"2023-04-20T06:02:51.961799Z","shell.execute_reply.started":"2023-04-20T06:02:51.720403Z","shell.execute_reply":"2023-04-20T06:02:51.960705Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='13'>Quickly glimpse the text files</a>","metadata":{}},{"cell_type":"code","source":"ebird_taxonomy_df.head(2)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:51.963211Z","iopub.execute_input":"2023-04-20T06:02:51.963882Z","iopub.status.idle":"2023-04-20T06:02:51.998419Z","shell.execute_reply.started":"2023-04-20T06:02:51.963840Z","shell.execute_reply":"2023-04-20T06:02:51.997005Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train_metadata_df.head(2)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:52.001133Z","iopub.execute_input":"2023-04-20T06:02:52.001497Z","iopub.status.idle":"2023-04-20T06:02:52.022632Z","shell.execute_reply.started":"2023-04-20T06:02:52.001457Z","shell.execute_reply":"2023-04-20T06:02:52.021279Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sample_submission_df.head(2)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:52.023863Z","iopub.execute_input":"2023-04-20T06:02:52.024341Z","iopub.status.idle":"2023-04-20T06:02:52.046098Z","shell.execute_reply.started":"2023-04-20T06:02:52.024289Z","shell.execute_reply":"2023-04-20T06:02:52.045095Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='14'>The sounds data</a>","metadata":{}},{"cell_type":"code","source":"print(f\"Test set: {len(os.listdir('/kaggle/input/birdclef-2023/test_soundscapes'))} folder/file\")\nprint(f\"Train set: {len(os.listdir('/kaggle/input/birdclef-2023/train_audio'))} folders\")\nfolder_dim = [len(files) for r, d, files in os.walk('/kaggle/input/birdclef-2023/train_audio')]\nfiles_total = sum(folder_dim)\nprint(f\"Train set: {files_total} files\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:52.047913Z","iopub.execute_input":"2023-04-20T06:02:52.048718Z","iopub.status.idle":"2023-04-20T06:02:54.882153Z","shell.execute_reply.started":"2023-04-20T06:02:52.048642Z","shell.execute_reply":"2023-04-20T06:02:54.880791Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# <a id='2'>Deep dive into the metadata</a>","metadata":{}},{"cell_type":"markdown","source":"## <a id='21'>Utility functions</a>\n\nHere we include utility scripts for:\n* data quality stats  \n* plots utilities\n\nThe utility scripts for data quality statistics are:\n- missing_data  \n- unique_values  \n- most_frequent_values  \n\nThe utility scripts for plots are:  \n- genSankey  \n- show_wordcloud  \n- plot_count  \n","metadata":{}},{"cell_type":"code","source":"from data_quality_stats import missing_data, unique_values, most_frequent_values\nfrom plot_utils import genSankey, show_wordcloud, plot_count","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:02:54.884036Z","iopub.execute_input":"2023-04-20T06:02:54.884855Z","iopub.status.idle":"2023-04-20T06:03:00.392678Z","shell.execute_reply.started":"2023-04-20T06:02:54.884797Z","shell.execute_reply":"2023-04-20T06:03:00.391562Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='22'>Few stats</a>","metadata":{}},{"cell_type":"code","source":"missing_data(ebird_taxonomy_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.394108Z","iopub.execute_input":"2023-04-20T06:03:00.395308Z","iopub.status.idle":"2023-04-20T06:03:00.451752Z","shell.execute_reply.started":"2023-04-20T06:03:00.395242Z","shell.execute_reply":"2023-04-20T06:03:00.450332Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"unique_values(ebird_taxonomy_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.453296Z","iopub.execute_input":"2023-04-20T06:03:00.453804Z","iopub.status.idle":"2023-04-20T06:03:00.499523Z","shell.execute_reply.started":"2023-04-20T06:03:00.453744Z","shell.execute_reply":"2023-04-20T06:03:00.498143Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"most_frequent_values(ebird_taxonomy_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.505042Z","iopub.execute_input":"2023-04-20T06:03:00.505761Z","iopub.status.idle":"2023-04-20T06:03:00.589079Z","shell.execute_reply.started":"2023-04-20T06:03:00.505714Z","shell.execute_reply":"2023-04-20T06:03:00.587680Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"missing_data(train_metadata_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.591485Z","iopub.execute_input":"2023-04-20T06:03:00.592051Z","iopub.status.idle":"2023-04-20T06:03:00.639737Z","shell.execute_reply.started":"2023-04-20T06:03:00.592008Z","shell.execute_reply":"2023-04-20T06:03:00.638374Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"unique_values(train_metadata_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.641202Z","iopub.execute_input":"2023-04-20T06:03:00.642116Z","iopub.status.idle":"2023-04-20T06:03:00.693229Z","shell.execute_reply.started":"2023-04-20T06:03:00.642060Z","shell.execute_reply":"2023-04-20T06:03:00.691682Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"most_frequent_values(train_metadata_df)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.694642Z","iopub.execute_input":"2023-04-20T06:03:00.695693Z","iopub.status.idle":"2023-04-20T06:03:00.780087Z","shell.execute_reply.started":"2023-04-20T06:03:00.695651Z","shell.execute_reply":"2023-04-20T06:03:00.778794Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='23'>Univariate analysis</a>","metadata":{}},{"cell_type":"code","source":"plot_count(\"CATEGORY\", \"CATEGORY\", ebird_taxonomy_df, size=2)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:00.781793Z","iopub.execute_input":"2023-04-20T06:03:00.782291Z","iopub.status.idle":"2023-04-20T06:03:01.075167Z","shell.execute_reply.started":"2023-04-20T06:03:00.782239Z","shell.execute_reply":"2023-04-20T06:03:01.073937Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plot_count(\"FAMILY\", \"FAMILY (top 20)\", ebird_taxonomy_df, size=4)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:01.076885Z","iopub.execute_input":"2023-04-20T06:03:01.077547Z","iopub.status.idle":"2023-04-20T06:03:01.636394Z","shell.execute_reply.started":"2023-04-20T06:03:01.077506Z","shell.execute_reply":"2023-04-20T06:03:01.635274Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plot_count(\"type\", \"type (top 20)\", train_metadata_df, size=4)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:01.637827Z","iopub.execute_input":"2023-04-20T06:03:01.638200Z","iopub.status.idle":"2023-04-20T06:03:02.175580Z","shell.execute_reply.started":"2023-04-20T06:03:01.638165Z","shell.execute_reply":"2023-04-20T06:03:02.174211Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plot_count(\"author\", \"author (top 20)\", train_metadata_df, size=4)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:02.177080Z","iopub.execute_input":"2023-04-20T06:03:02.177453Z","iopub.status.idle":"2023-04-20T06:03:02.640249Z","shell.execute_reply.started":"2023-04-20T06:03:02.177417Z","shell.execute_reply":"2023-04-20T06:03:02.639272Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plot_count(\"license\", \"license\", train_metadata_df, size=4)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:02.641791Z","iopub.execute_input":"2023-04-20T06:03:02.642595Z","iopub.status.idle":"2023-04-20T06:03:02.969939Z","shell.execute_reply.started":"2023-04-20T06:03:02.642531Z","shell.execute_reply":"2023-04-20T06:03:02.969015Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plot_count(\"rating\", \"rating\", train_metadata_df, size=2)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:02.971276Z","iopub.execute_input":"2023-04-20T06:03:02.971943Z","iopub.status.idle":"2023-04-20T06:03:03.253136Z","shell.execute_reply.started":"2023-04-20T06:03:02.971903Z","shell.execute_reply":"2023-04-20T06:03:03.251664Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='24'>Names, species words distribution</a>\n\n\nFor primary common name, scientific name, family, order, we present the data distribution using wordcloud.","metadata":{}},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df[\"PRIMARY_COM_NAME\"], title=\"Primary common name distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:03.254604Z","iopub.execute_input":"2023-04-20T06:03:03.255090Z","iopub.status.idle":"2023-04-20T06:03:05.510166Z","shell.execute_reply.started":"2023-04-20T06:03:03.255040Z","shell.execute_reply":"2023-04-20T06:03:05.508863Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df[\"SCI_NAME\"], title=\"Scientific name distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:05.512121Z","iopub.execute_input":"2023-04-20T06:03:05.512500Z","iopub.status.idle":"2023-04-20T06:03:07.826871Z","shell.execute_reply.started":"2023-04-20T06:03:05.512462Z","shell.execute_reply":"2023-04-20T06:03:07.825415Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df[\"ORDER1\"], title=\"Order name distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:07.828691Z","iopub.execute_input":"2023-04-20T06:03:07.829118Z","iopub.status.idle":"2023-04-20T06:03:09.452914Z","shell.execute_reply.started":"2023-04-20T06:03:07.829076Z","shell.execute_reply":"2023-04-20T06:03:09.451324Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df[\"FAMILY\"], title=\"Family name distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:09.454999Z","iopub.execute_input":"2023-04-20T06:03:09.455403Z","iopub.status.idle":"2023-04-20T06:03:11.327460Z","shell.execute_reply.started":"2023-04-20T06:03:09.455364Z","shell.execute_reply":"2023-04-20T06:03:11.326090Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df['SPECIES_GROUP'], title=\"Species group name distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:11.329248Z","iopub.execute_input":"2023-04-20T06:03:11.329653Z","iopub.status.idle":"2023-04-20T06:03:13.200327Z","shell.execute_reply.started":"2023-04-20T06:03:11.329598Z","shell.execute_reply":"2023-04-20T06:03:13.199053Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(ebird_taxonomy_df['REPORT_AS'].drop_duplicates(), title=\"`Report as` distribution (taxonomy)\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:13.201940Z","iopub.execute_input":"2023-04-20T06:03:13.202418Z","iopub.status.idle":"2023-04-20T06:03:15.142277Z","shell.execute_reply.started":"2023-04-20T06:03:13.202383Z","shell.execute_reply":"2023-04-20T06:03:15.140907Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(train_metadata_df[\"scientific_name\"], title=\"Scientific name distribution\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:15.144525Z","iopub.execute_input":"2023-04-20T06:03:15.145251Z","iopub.status.idle":"2023-04-20T06:03:16.970070Z","shell.execute_reply.started":"2023-04-20T06:03:15.145175Z","shell.execute_reply":"2023-04-20T06:03:16.968762Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"show_wordcloud(train_metadata_df[\"common_name\"], title=\"Common name distribution\")","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:16.971627Z","iopub.execute_input":"2023-04-20T06:03:16.972017Z","iopub.status.idle":"2023-04-20T06:03:18.922488Z","shell.execute_reply.started":"2023-04-20T06:03:16.971980Z","shell.execute_reply":"2023-04-20T06:03:18.920778Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# <a id='3'>Sample sounds analysis</a>","metadata":{}},{"cell_type":"markdown","source":"## <a id='31'>Sound utility functions</a> \n\n\nWe import the utility scripts for audio data:\n- play_sound  \n- display_sound_wave  \n- display_spectrogram  ","metadata":{}},{"cell_type":"code","source":"from audio_plot_utils import play_sound, display_sound_wave, display_spectrogram","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:18.930517Z","iopub.execute_input":"2023-04-20T06:03:18.931334Z","iopub.status.idle":"2023-04-20T06:03:18.964174Z","shell.execute_reply.started":"2023-04-20T06:03:18.931290Z","shell.execute_reply":"2023-04-20T06:03:18.962842Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='32'>Test the sound utility functions</a>","metadata":{}},{"cell_type":"code","source":"test_path = \"/kaggle/input/birdclef-2023/test_soundscapes/soundscape_29201.ogg\"\nplay_sound(test_path)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:18.965528Z","iopub.execute_input":"2023-04-20T06:03:18.965913Z","iopub.status.idle":"2023-04-20T06:03:19.236208Z","shell.execute_reply.started":"2023-04-20T06:03:18.965877Z","shell.execute_reply":"2023-04-20T06:03:19.235081Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"display_sound_wave(test_path)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:19.237438Z","iopub.execute_input":"2023-04-20T06:03:19.237848Z","iopub.status.idle":"2023-04-20T06:03:35.903804Z","shell.execute_reply.started":"2023-04-20T06:03:19.237810Z","shell.execute_reply":"2023-04-20T06:03:35.902830Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"display_spectrogram(test_path)","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:03:35.905457Z","iopub.execute_input":"2023-04-20T06:03:35.906283Z","iopub.status.idle":"2023-04-20T06:04:08.380026Z","shell.execute_reply.started":"2023-04-20T06:03:35.906242Z","shell.execute_reply":"2023-04-20T06:04:08.378443Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## <a id='33'>Check few sounds</a>\n\nWe prepare one more utility function. This one, being specific to this Notebook/dataset, we are not extracting in a separate utility scripts.","metadata":{}},{"cell_type":"code","source":"def sound_utility_sample_per_primary_label(primary_label=\"abethr1\", color=\"red\"):\n    sample_df = train_metadata_df.loc[train_metadata_df.primary_label==primary_label]\n    sample_file = sample_df.sample(1)[\"filename\"].values[0]\n    base_path = \"/kaggle/input/birdclef-2023/train_audio\"\n    full_path = os.path.join(base_path, sample_file)\n    text = f\"{primary_label} (sample)\"\n    play_sound(full_path, text=text, color=color)\n    display_sound_wave(full_path, text=text, color=color)\n    display_spectrogram(full_path, text=text)","metadata":{"_kg_hide-input":false,"execution":{"iopub.status.busy":"2023-04-20T06:04:08.382252Z","iopub.execute_input":"2023-04-20T06:04:08.382917Z","iopub.status.idle":"2023-04-20T06:04:08.389175Z","shell.execute_reply.started":"2023-04-20T06:04:08.382876Z","shell.execute_reply":"2023-04-20T06:04:08.388140Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"### Test\n\nLet's test this utility function.","metadata":{}},{"cell_type":"code","source":"sound_utility_sample_per_primary_label()","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:08.390586Z","iopub.execute_input":"2023-04-20T06:04:08.391641Z","iopub.status.idle":"2023-04-20T06:04:10.959513Z","shell.execute_reply.started":"2023-04-20T06:04:08.391598Z","shell.execute_reply":"2023-04-20T06:04:10.958154Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"### Few bird songs samples from the train set\n\nHere we present few bird songs samples from the train set.\nWe pass as parameter the `primary_label` and we sample one case from the set and then call the functions to play the sound, present the spectrogram and the Mel spectrogram.","metadata":{}},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('blcapa2', color='blue')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:10.961297Z","iopub.execute_input":"2023-04-20T06:04:10.961759Z","iopub.status.idle":"2023-04-20T06:04:12.642672Z","shell.execute_reply.started":"2023-04-20T06:04:10.961719Z","shell.execute_reply":"2023-04-20T06:04:12.641631Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('reftin1', color='cyan')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:12.643962Z","iopub.execute_input":"2023-04-20T06:04:12.644831Z","iopub.status.idle":"2023-04-20T06:04:16.404389Z","shell.execute_reply.started":"2023-04-20T06:04:12.644792Z","shell.execute_reply":"2023-04-20T06:04:16.402692Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('marsun2', color='gold')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:16.406642Z","iopub.execute_input":"2023-04-20T06:04:16.407079Z","iopub.status.idle":"2023-04-20T06:04:20.245037Z","shell.execute_reply.started":"2023-04-20T06:04:16.407039Z","shell.execute_reply":"2023-04-20T06:04:20.243699Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('yertin1', color='magenta')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:20.246335Z","iopub.execute_input":"2023-04-20T06:04:20.246701Z","iopub.status.idle":"2023-04-20T06:04:23.537214Z","shell.execute_reply.started":"2023-04-20T06:04:20.246667Z","shell.execute_reply":"2023-04-20T06:04:23.535563Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('gnhsun1', color='lightgreen')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:23.538770Z","iopub.execute_input":"2023-04-20T06:04:23.539190Z","iopub.status.idle":"2023-04-20T06:04:27.505150Z","shell.execute_reply.started":"2023-04-20T06:04:23.539153Z","shell.execute_reply":"2023-04-20T06:04:27.503765Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('strher', color='black')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:27.506780Z","iopub.execute_input":"2023-04-20T06:04:27.507262Z","iopub.status.idle":"2023-04-20T06:04:32.326588Z","shell.execute_reply.started":"2023-04-20T06:04:27.507222Z","shell.execute_reply":"2023-04-20T06:04:32.325452Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sound_utility_sample_per_primary_label('wbswea1', color='darkblue')","metadata":{"execution":{"iopub.status.busy":"2023-04-20T06:04:32.327981Z","iopub.execute_input":"2023-04-20T06:04:32.328380Z","iopub.status.idle":"2023-04-20T06:04:34.144167Z","shell.execute_reply.started":"2023-04-20T06:04:32.328343Z","shell.execute_reply":"2023-04-20T06:04:34.142678Z"},"trusted":true},"execution_count":null,"outputs":[]}]}