hertzforge.service.ops_compare¶
ops_compare
¶
Comparisons of a pair or group of the project's objects: a measured PSD against its specification (the spectra, the RMS error and lines out of every channel, the lines outside beside what chance puts there, the composite of the control channels), a specification's own levels, two densities as signal over noise, two signatures mode by mode, a cross-spectral matrix as a grid, shock spectra against their requirement, and a transient run against its reference.
Every number is the core's: core.compliance, core.chance,
core.multi_point, core.snr, core.signature, core.matrix_comparison
and core.replication. Each reading adds nothing to the project; Comparison
Scaling holds a scale on the measurement.
Functions:
| Name | Description |
|---|---|
spec_spectra |
|
spec_rms_error |
|
spec_lines_out |
|
spec_chance |
|
spec_composite |
|
comparison_scale |
|
spec_rms |
|
psd_overlay |
|
signal_to_noise |
|
rms_signal_to_noise |
|
signature |
|
matrix_comparison |
|
srs_spectra |
|
srs_error |
|
srs_points |
|
replication_waveforms |
|
waveform_error |
|
replication_segments |
|
Classes¶
Functions:¶
spec_spectra
¶
project.spec_spectra: one channel of a measured PSD over its
specification and the specification's warning and abort limits, the
PSD scaled by the comparison's scale, with the channel's numbers
(compliance.compare) and the run's verdict over every channel
(compliance.verdict).
spec_rms_error
¶
project.spec_rms_error: every channel's RMS against its
specification's in dB (compliance.channel_errors), each judged
against a floor and a ceiling, -3 and +3 dB by default: the RMS Error bars as a table.
spec_lines_out
¶
project.spec_lines_out: the share of every channel's lines
outside its abort limits (compliance.channel_errors), each judged
against a ceiling, 10 % by default: the Lines Out bars
as a table.
spec_chance
¶
project.spec_chance: one channel's miss from its target in dB
against each pair of limits, and the lines outside each beside how
many chance alone puts there at the comparison's degrees of freedom
(chance.compare_chance).
spec_composite
¶
project.spec_composite: the control channels combined as the
controller held them, the composite against its band and each channel
against its own (multi_point.multi_point, the channels by
multi_point.control_channels).
comparison_scale
¶
project.comparison_scale: hold the level a measured PSD's run was
at, against full, so it is lifted by as much when it is compared with
a specification, on it and its whole family
(Project.set_comparison_scale, which takes the decibels added: the
level's negative), or with the field blank go back to detecting it
(Project.comparison_scale). The data is never changed.
spec_rms
¶
project.spec_rms: the RMS level each channel of a specification
asks for (compliance.specification_rms), one row per autospectrum, with no limit
to be out of.
psd_overlay
¶
project.psd_overlay: two densities drawn over each other, channel
by channel where they share one (data.paired_channels), the louder
solid and the quieter dashed: the Overlaid reading.
signal_to_noise
¶
project.signal_to_noise: the louder density's signal over the
quieter's noise, line by line and channel by channel, in dB
(snr.signal_to_noise: the louder less the quieter, over the
quieter), with the median.
rms_signal_to_noise
¶
project.rms_signal_to_noise: each channel's signal over its
noise across the whole band, from the area under the two densities
(snr.rms_signal_to_noise), judged against a floor, 10 dB by
default: the RMS signal to noise bars as a table.
signature
¶
project.signature: one record of a signature before a test and
the same record after it, compared mode by mode against frequency and
amplitude limits (signature.compare_signatures), the modes named or
the most prominent peaks before (signature.find_modes): the Signature reading,
each mode's window drawn as its two
height limits across its frequency limits.
matrix_comparison
¶
project.matrix_comparison: a measured cross-spectral matrix
judged whole against its specification
(matrix_comparison.compare_matrix): each level on the diagonal, each
cross term's coherence above it and phase below it, as the share of
their lines out, and every cell's verdict.
srs_spectra
¶
project.srs_spectra: every event's shock spectrum at one channel
against the one it had to meet and its limits, with each event's
signed RMS deviation in dB (compliance.srs_errors).
srs_error
¶
project.srs_error: every channel's shock spectrum against the
one it had to meet, one signed RMS deviation in dB across the band
per channel and event (compliance.srs_errors), judged against a
floor and a ceiling, -3 and +3 dB by default: the SRS
Error bars as a table.
srs_points
¶
project.srs_points: one measured shock spectrum judged point by
point against its requirement's tolerance band under the rule the
test plan names (compliance.srs_tolerance), the bands its own
warning and abort limits unless typed: the Points Rule
reading.
replication_waveforms
¶
project.replication_waveforms: one channel of a transient run
over one playing of the reference it was controlled to, aligned by
the run's one shift (replication_segments.aligned_traces), with its
waveform error at that playing (replication.compare): the Waveforms reading.
waveform_error
¶
project.waveform_error: every control channel's waveform error at
every playing of the reference (replication.compare), judged against
a ceiling, 20 % by default: the Waveform Error bars as a
table.
replication_segments
¶
project.replication_segments: one channel of a transient run over
one playing judged segment by segment, each marked segment by the
rule for its kind (replication_segments.replication_segments, which
calls judge_segments on the aligned traces), beside the
whole-record waveform error: the Segments reading. The
marks are typed, or the ones the reference carries.