rolland.postprocessing.Response

class rolland.postprocessing.Response(*, results, f_min=100.0, f_max=3000.0, x_resp=None, ind_resp=None, freq=numpy.array([]), rez=numpy.array([]), mob=numpy.array([]), accel=numpy.array([]))[source]

Bases: RollandPP

Postprocessing class for Rolland response quantities.

This class calculates and stores response quantities such as receptance, mobility, and accelerance based on the results of the Deflection class.

Parameters:
  • results (Deflection)

  • f_min (float)

  • f_max (float)

  • x_resp (list[float] | None)

  • ind_resp (list[int] | None)

  • freq (ndarray)

  • rez (ndarray)

  • mob (ndarray)

  • accel (ndarray)

results

Instance of the Deflection class containing the results.

Type:

Deflection

x_resp

List of response points in meters \([m]\) (default value is x_excit).

Type:

list[float] | None

ind_resp

List of response indices (None if x_resp is provided).

Type:

list[int] | None

freq

Frequency vector \([Hz]\).

Type:

numpy.ndarray

rez

Receptance vector \([m/N]\).

Type:

numpy.ndarray

mob

Mobility vector \([m/Ns]\).

Type:

numpy.ndarray

accel

Accelerance vector \([m/Ns^2]\).

Type:

numpy.ndarray

calculate_response()[source]

Calculate and store response quantities (Receptance, Mobility, Accelerance).