FrequencyResponse

class sharpy.postproc.frequencyresponse.FrequencyResponse[source]

Frequency Response Calculator

Computes the frequency response of a linear system. If a reduced order model has been created, a comparison is made between the two responses.

The settings that this solver accepts are given by a dictionary, with the following key-value pairs:

Name Type Description Default Options
folder str Output folder ./output  
print_info bool Write output to screen False  
compute_fom bool Compute frequency response of full order model (use caution if large) False  
load_fom str Folder to locate full order model frequency response data    
frequency_unit str Units of frequency, “w” for rad/s, “k” reduced k w, k
frequency_bounds list(float) Lower and upper frequency bounds in the corresponding unit [0.001, 1]  
num_freqs int Number of frequencies to evaluate 50  
quick_plot bool Produce array of .png plots showing response. Requires matplotlib False  
run()[source]

Get the frequency response of the linear state-space Returns: