method = "peak_power" implements the pinned MNE-NIRS PHOEBE-style
cross-correlation peak-power metric. It is not the original PHOEBE
equation. method = "snr" returns a channel-specific cardiac-to-noise
spectral power ratio in decibels.
Arguments
- x
A governed measurement-level optical-density
PhysioExperiment.- assay_name
Exact optical-density assay name.
- method
Exactly
"peak_power"or"snr".- window_seconds
Positive complete-window duration.
- step_seconds
Optional positive window step.
NULLuses the window.- cardiac_range_hz
Finite increasing cardiac band below Nyquist.
- noise_range_hz
For SNR,
NULLor a disjoint two-column band matrix.- threshold
Optional finite threshold. Defaults to
0.1for peak power and0dB for SNR.- order
Positive Butterworth filter order.
Examples
od <- intensityToOD(PhysioNIRS:::.nirs_demo_object())
signalQualityIndex(od)
#> NIRS quality <phoebe_peak_power>: 4 channels x 1 windows; pass 4/4