neurodsp.utils.create_samples

neurodsp.utils.create_samples(n_samples, start_val=0)[source]

Create an array of sample indices.

Parameters
n_secondsint

Number of sample.

start_valint, optional, default: 0

Starting value for the samples definition.

Returns
1d array

Sample indices.