From 3f95add0c026bbb89ea41228d62d99e1d0cd732c Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Wed, 25 Oct 2023 11:18:50 +0200 Subject: [PATCH] fix typo --- .../pybraidz-chunked-iter/examples/read_to_pandas.py | 2 +- .../pybraidz-chunked-iter/examples/simple.py | 2 +- strand-braid-user/users-guide/src/braidz-files.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/read_to_pandas.py b/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/read_to_pandas.py index 0ae24101a..2631eaf9f 100644 --- a/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/read_to_pandas.py +++ b/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/read_to_pandas.py @@ -6,7 +6,7 @@ braidz_fname = sys.argv[1] # Open the braidz file and create chunks of 60 second durations. -estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60) +estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60) # One could also create chunks with 100 frames of data. # estimates_chunker = pybraidz_chunked_iter.chunk_on_num_frames(braidz_fname, 100) diff --git a/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/simple.py b/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/simple.py index 50019cffc..b617cb918 100644 --- a/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/simple.py +++ b/braidz-parser/braidz-chunked-iter/pybraidz-chunked-iter/examples/simple.py @@ -5,7 +5,7 @@ braidz_fname = sys.argv[1] # Open the braidz file and create chunks of 60 second durations. -estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60) +estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60) # Iterate over each chunk for chunk in estimates_chunker: diff --git a/strand-braid-user/users-guide/src/braidz-files.md b/strand-braid-user/users-guide/src/braidz-files.md index 230b4b8c6..d4a90d745 100644 --- a/strand-braid-user/users-guide/src/braidz-files.md +++ b/strand-braid-user/users-guide/src/braidz-files.md @@ -139,7 +139,7 @@ import pandas as pd braidz_fname = "20201104_174158.braidz" # Open the braidz file and create chunks of 60 second durations. -estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60) +estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60) # One could also create chunks with 100 frames of data. # estimates_chunker = pybraidz_chunked_iter.chunk_on_num_frames(braidz_fname, 100)