Procedures

ProcedureLocationProcedure TypeDescription
compute_overlap_segment_count spectrum_routines Function

Computes the number of overlapped signals using a nominal 50% overlap.

compute_transform_length spectrum_routines Function

Computes the length of the positive half of a discrete Fourier transform for a specific signal length.

Read more…
convolve spectrum_convolve Function

Computes the convolution of a signal and kernel.

cross_periodogram spectrum_periodogram Function

Computes the cross-spectral periodogram of two signals.

csd spectrum_periodogram Function

Computes the cross spectral density (CSD) of a signal via Welch's method (sometimes referred to as cross power spectral density or CPSD).

Read more…
cumulative_sum spectrum_routines Function

Computes the cumulative sum of an array.

difference spectrum_routines Function

Computes the difference between each element in an array.

downsample spectrum_resample Function

Downsamples an evenly sampled signal by the specified factor.

filter spectrum_filter Function

Applies the specified filter to a signal.

Read more…
filter_diff spectrum_diff Function

Estimates the derivative of a signal by utilization of a second-order system as a filter.

finite_difference spectrum_diff Interface
frequency_bin_width spectrum_routines Function

Computes the bin width for a discrete frequency spectrum based upon the data sample rate.

Read more…
gaussian_filter spectrum_filter Function

Applies a Gaussian filter to a signal.

integrate spectrum_integrate Function

Integrates a data set.

irfft spectrum_fft Function

Computes the inverse Fourier transform for a real-valued data set.

is_power_of_two spectrum_routines Function

Tests to see if a value is an integer power of two.

moving_average_filter spectrum_filter Function

Applies a moving average filter to a signal.

next_power_of_two spectrum_routines Function

Provides the next higher integer power of two.

overlap spectrum_routines Subroutine

Extracts a segment from a signal allowing for a nominally 50% overlap.

periodogram spectrum_periodogram Function

Computes the periodogram of a signal.

psd spectrum_periodogram Function

Computes the power spectral density (PSD) of a signal via Welch's method.

Read more…
remove_mean spectrum_routines Function

Removes the mean offset from the specified data set.

rfft spectrum_fft Function

Computes the Fourier transform of a real-valued data set. Only the positive half of the transform is returned.

sinc_filter spectrum_filter Function

Applies a sinc-in-time filter (rectangular frequency response).

siso_transfer_function spectrum_tf Function

Estimates the transfer function for a single-input/single-output (SISO) system.

stencil_diff_5 spectrum_diff Function

Utilizes a 5-point stencil to estimate the derivative of a data set.

Read more…
stencil_second_diff_5 spectrum_diff Function

Utilizes a 5-point stencil to estimate the second derivative of a data set.

Read more…
stft spectrum_fft Function

Computes the short time Fourier transform of a signal.

Read more…
tv_filter spectrum_filter Function

Applies a total-variation filter to a signal.

Read more…
tvr_derivative spectrum_diff Function

Computes an estimate to the derivative of an evenly-sampled data set using total variation regularization.

Read more…
unpack_real_transform spectrum_routines Function

Unpacks a real-valued transform into its complex-valued format.

unwrap spectrum_routines Subroutine

Shifts phase angle arrays to deal with jumps greater than or equal to tol by adding multiples of until the jump is less than tol.

upsample spectrum_resample Function

Upsamples an evenly sampled signal by the specified factor.

window_function spectrum_windows Interface