hertzforge.service.ops_generate¶
ops_generate
¶
The tools that generate, convert and predict: a signal made from a spectrum, a specification or a channel table; a shock synthesized to a shock spectrum; how each mode of a shape set answers a record's forces; a sine sweep's rate against the modes it passes; the extreme response and fatigue damage spectra of a record; the drives a specification asks for through an FRF; the notch a set of limit channels would cut; and the conditioning and realizability of a matrix.
Generate Signal, SRS Synthesis and Compute Modal Responses add an object, and draw what
they added; the others are readings
of objects that exist and add nothing. Every number is the core's:
core.signals, core.shock_synthesis, core.modal_response,
core.sweep_rate, core.fatigue, core.drive_prediction,
core.limit_prediction and core.matrix_checks.
Functions:
| Name | Description |
|---|---|
generate_signal |
|
srs_synthesis |
|
compute_modal_responses |
|
synthesize_modal_frfs |
|
parse_modes |
'22 40, 180 20' as [(22.0, 40.0), (180.0, 20.0)]: pairs of natural frequency |
sweep_rate |
|
fatigue |
|
drive_prediction |
|
notch_prediction |
|
conditioning |
|
realizability |
|
Classes¶
Functions:¶
generate_signal
¶
project.generate_signal: a reference signal made from a spectrum
(random, burst random, periodic random at its DOFs), a sine
specification (its tone) or a channel table (the random kinds at its
reference channels to a typed flat band and level, an impulse or a
classical pulse), added beside its source (Project.generate_signal,
core.signals.generate). Drawn: the
random kinds' PSD over the target they were drawn to
(signals.target_at), an impulse's trace and its spectrum
(signals.impulse_spectrum), the others' trace; with the samples, the
line spacing, the rms and the seed kept with it.
srs_synthesis
¶
project.srs_synthesis: a shock a shaker can play, synthesized to a
shock specification as a sum of wavelets and read against the shaker's
shock ratings given (core.shock_synthesis.synthesize), added as a
time history (Project.generate_signal with the kind 'srs'). Drawn: the
channel's stroke reading, then its spectrum against the requirement's
band, with the wavelets, passes, event length and points inside.
compute_modal_responses
¶
project.compute_modal_responses: how each mode of a shape set
answers the forces in a time history, or a force CPSD, added as an
object of its own beside the forces (Project.compute_modal_responses,
core.modal_response). Drawn as a waterfall, with the counts the pane gives: the
modes, the force channels, the samples or
lines and the highest mode, and a mode past the record's reach.
synthesize_modal_frfs
¶
project.synthesize_modal_frfs: each mode's own FRF, its modal
coordinate per unit modal force, on the lines of a test frame, added
beside the set (Project.synthesize_modal_frfs, core.modal_frf).
Drawn as a waterfall, with what the pane gives: the modes, the line
spacing, the lines, the Nyquist frequency, the highest mode and how many
modes are above the Nyquist frequency, which are kept. It previews, so
the line spacing a sample rate and frame give is read while they are
typed. The modes are the ones picked under the set in the tree, every
one when the set is selected whole (action_table.PICKED).
parse_modes
¶
'22 40, 180 20' as [(22.0, 40.0), (180.0, 20.0)]: pairs of natural frequency in Hz and Q, the pairs separated by commas or semicolons and the two numbers of a pair by spaces or a slash.
sweep_rate
¶
project.sweep_rate: one tone of a sine specification checked
against typed modes (core.sweep_rate.check_sweep_rate): its path as
frequency against time with each mode's half-power band across it,
each pass through a band marked, too fast where its rate is over the
margin times the rule's, and every pass in the sweep-rate
table. With a tracked level named, the Q read off it at each mode is
judged as well (_swept_q).
fatigue
¶
project.fatigue: the extreme response and fatigue damage spectra
of one acceleration record, a record of a spectrum or a channel of a
time history, through a resonator at each natural frequency
(core.fatigue.fatigue_spectra), and with a candidate test, the two
set against each other on the same natural frequencies
(core.fatigue.compared): the ERS, the FDS and the time-compression rule
with the cap and the exaggeration the test carries.
drive_prediction
¶
project.drive_prediction: the drives a specification asks for at
its control channels through an FRF's regularized inverse, the
responses they make and what they ask of the amplifiers and shakers
(core.drive_prediction.predict_drives): each drive's
autospectrum, one channel's predicted response against its target
with the lines missed shaded, and every quantity against its
rating.
notch_prediction
¶
project.notch_prediction: where each limit channel would exceed
its limit profile at full level and the notch the controller would cut
in the control spectrum to hold it there, predicted from a
transmissibility from the control channel
(core.limit_prediction.predict_limits): the control against
the reference with each notch shaded, each limited channel against its
profile, and a row a notch.
conditioning
¶
project.conditioning: the singular values and condition number of
an FRF from several references, or of a CPSD, at every line
(Frf.conditioning, Psd.conditioning: core.matrix_checks), and the reading at
one line as its pane gives
it at the cursor.
realizability
¶
project.realizability: whether some set of signals has a CPSD,
line by line, from the eigenvalues of its coherence matrix
(Psd.realizability: core.matrix_checks): the smallest
and largest eigenvalue with the failing lines shaded, and for the pair
the repair moves most, its coherence and phase before and after; and
the reading at one line as its pane gives it at the cursor. Make
Realizable adds the repair.