Skip to content

Commit

Permalink
#33 updated doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ewan Barr committed Apr 2, 2024
1 parent ade309b commit e03de44
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion sigpyproc/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,26 @@ def read_plan_buffered(
Parameters
----------
...
gulp: int
The number of samples (spectra) to read in each iteration
start: int
The starting sample (spectrum) to read from
nsamps: int
The total number of samples (spectra) to read
skipback: int = 0
The number of samples (spectra) to seek back after each read
description: str
Annotation for progress bar
quiet: bool
Disable/Enable progress bar
allocator: Callable[[int], Buffer]
An allocator callback that returns an object implementing
the Python Buffer Protocol interface (PEP 3118)
Yields
-------
Tuple[int, int, np.ndarray]
The number of samples read, the index of the read and the unpacked data
"""
if nsamps is None:
nsamps = self.header.nsamples - start
Expand Down

0 comments on commit e03de44

Please sign in to comment.