diff --git a/code/extract_chirps.py b/code/extract_chirps.py index e259ec8..4e229fa 100644 --- a/code/extract_chirps.py +++ b/code/extract_chirps.py @@ -1,4 +1,5 @@ import os +import pandas as pd import numpy as np from chirpdetection import chirpdetection from IPython import embed @@ -40,6 +41,8 @@ if __name__ == '__main__': datapaths = [os.path.join(dataroot, dataset) + '/' for dataset in valid_datasets] - main(datapaths) + recs = pd.DataFrame(columns=['recording'], data=valid_datasets) + recs.to_csv('../recs.csv', index=False) + # main(datapaths) # window 1524 + 244 in dataset index 4 is nice example diff --git a/recs.csv b/recs.csv new file mode 100644 index 0000000..92b9a0a --- /dev/null +++ b/recs.csv @@ -0,0 +1,29 @@ +recording +2020-03-13-10_00 +2020-03-16-10_00 +2020-03-19-10_00 +2020-03-20-10_00 +2020-03-23-09_58 +2020-03-24-10_00 +2020-03-25-10_00 +2020-03-31-09_59 +2020-05-11-10_00 +2020-05-12-10_00 +2020-05-13-10_00 +2020-05-14-10_00 +2020-05-15-10_00 +2020-05-18-10_00 +2020-05-19-10_00 +2020-05-21-10_00 +2020-05-25-10_00 +2020-05-27-10_00 +2020-05-28-10_00 +2020-05-29-10_00 +2020-06-02-10_00 +2020-06-03-10_10 +2020-06-04-10_00 +2020-06-05-10_00 +2020-06-08-10_00 +2020-06-09-10_00 +2020-06-10-10_00 +2020-06-11-10_00