Skip to content

Specify minimum samples in last time slice #20

@matthewrankin

Description

@matthewrankin

If the number_of_samples is just barely larger than a multiple of the samples_per_time_slice, you can end up with the last time slice containing a very small number of samples. Sometimes the number of samples is too small for whatever the next post-processing step might be, such as calculating the STFT. Therefore, it would be nice to specify a minimum number of samples for the last time slice. This could be an optional argument so as to not impact the current signature of the time_slice_zip() function.

Examples

time_slice_zip(960101, 96000)
time_slice_zip(960101, 96000, 12000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions