Program Documentation¶
-
noise_floor.
fourier_transform
(datafile, freq, fc=5000000.0)[source]¶ Plots the fourier transform of the given data, calculates the noise floor and also plots the original data in time domain along with the data being passed through a high-pass filter.
- parameters, types, return and return types::
param datafile: File from which data has to be read. This file should contain just the data points. param freq: Acquisition frequency. param fc: Cutoff frequency for the high-pass filter. type datafile: str type freq: str type fc: float
-
noise_floor.
greater
(arr, comp)[source]¶ Compares all the elements of the an array to the number comp and generates a list which is greater than the number comp.
- parameters, types, return and return types::
param arr: Array on which the operation is to be done. param comp: The number to which the array elements is to be compared. type arr: floats[] type arr: float return: float[]
-
noise_floor.
noise_floor
(data_points)[source]¶ Calculates the noise floor on the given fourier transform and plots it on the original fourier transform generated by the fourier transform module.
- parameters, types, return and return types::
param data_points: Array of which noise floor is to be calculated. type arr: floats[]