|
@@ -17,7 +17,7 @@ def find_recording(row, df):
|
|
|
|
|
|
def sample(
|
|
|
#project: ChildProject.projects.ChildProject,
|
|
|
- destination: str = './sampler',
|
|
|
+ destination: str = './sampler2',
|
|
|
length: int = 30000,
|
|
|
period: int = 1800000,
|
|
|
offset: int = 900000,
|
|
@@ -121,7 +121,7 @@ def sample(
|
|
|
segment.loc[index, 'recording_filename'] = segment[index].apply(lambda row: find_recording(row, group), axis=1)
|
|
|
|
|
|
segments = pd.concat([segments, segment], ignore_index=True)
|
|
|
-
|
|
|
+
|
|
|
segments.rename(
|
|
|
columns={"recording_filename": "recording_filename",
|
|
|
"segment_onset": "segment_onset",
|