neurodsp.utils.data.create_freqs

neurodsp.utils.data.create_freqs(freq_start, freq_stop, freq_step=1)[source]

Create an array of frequencies.

Parameters
freq_startfloat

Starting value for the frequency definition.

freq_stopfloat

Stopping value for the frequency definition, inclusive.

freq_stepfloat, optional, default: 1

Step value, for linearly spaced values between start and stop.

Returns
freqs1d array

Frequency indices.