ffta.acquisition package¶
Module contents¶
ffta.acquisition.generate_chirp¶
Created on Mon Mar 23 16:23:12 2020
@author: Raj
- ffta.acquisition.generate_chirp.GenChirp(f_center, f_width=100000.0, length=0.01, sampling_rate=100000000.0, name='chirp')¶
Generates a single broad-frequency signal using SciPy chirp, writes to name.dat
Important usage regarding the sampling rate: The sampling rate here must match that of the wave generator when you load this signal. There is a limit of 250 MHz on the 33200 Agilent wave generator, but obviously that varies.
- Parameters
f_center (float) – Central frequency for the signal
f_width (float) – The single-sided width of the chirp. Generates signal from f_center - f_width to f_center + f_width
length (float the timescale of the signal. Keep this length in mind for data acquisition;) – the timescale of the signal. Keep this length in mind for data acquisition; if your chirp is longer than your data acquisition, you will miss many of the frequencies
sampling_rate (int) – Sampling rate of the chirp, based on length/sampling_rate number of steps This rate must be consistent on the wave generator or the frequencies will be off
name (str) – Filename for writing the chirp to disk
- Returns
- Return type
- ffta.acquisition.generate_chirp.GenManyChirps(f_center, f_width=100000.0, length=0.01, sampling_rate=100000000.0)¶
Based on the Agilent manual, the max-frequency is 250 MHz/number_of_points The minimum number of points is 8, maximum is 1e6
This creates 3 chirp signals around the first three mechanical resonances
- Parameters
f_center (float) – Central frequency for the signal
f_width (float) – The single-sided width of the chirp. Generates signal from f_center - f_width to f_center + f_width
length (float the timescale of the signal. Keep this length in mind for data acquisition;) – the timescale of the signal. Keep this length in mind for data acquisition; if your chirp is longer than your data acquisition, you will miss many of the frequencies
sampling_rate (int) – Sampling rate of the chirp, based on length/sampling_rate number of steps This rate must be consistent on the wave generator or the frequencies will be off
- ffta.acquisition.generate_chirp.GeneratePulse(pulse_time, voltage, total_time)¶
- Parameters
pulse_time –
voltage –
total_time –
- ffta.acquisition.generate_chirp.GenerateTaus(tau, beta, sfx='')¶
- Parameters
tau –
beta –
sfx –