Enum JumpPriorNoiseScale
#[non_exhaustive]pub enum JumpPriorNoiseScale {
Mad,
EventDetection,
}Expand description
Noise-scale estimator for the prior detector’s test-statistic denominator.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Mad
MAD-based scale (1.4826·MAD), a marginal-quantile estimator with an
exact unit null std: each coefficient’s marginal null is N(0, σ_c²)
regardless of the filter’s coefficient autocorrelation. Unlike the
event detector’s bipower scale — whose adjacent-coefficient products
absorb jump energy once the impulse response smears a jump across
neighboring coefficients — MAD stays calibrated when jumps are
frequent, which is exactly when a parametric λ needs detection power.
The default.
EventDetection
The same per-level scale jump_event_signal uses (bipower when
detection.robust_threshold is set, sample std otherwise) with the
filter-dependent null. Choose this to keep the prior’s detections
bit-identical with the categorical event signal’s.
Trait Implementations§
§impl Clone for JumpPriorNoiseScale
impl Clone for JumpPriorNoiseScale
§fn clone(&self) -> JumpPriorNoiseScale
fn clone(&self) -> JumpPriorNoiseScale
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for JumpPriorNoiseScale
impl Debug for JumpPriorNoiseScale
§impl PartialEq for JumpPriorNoiseScale
impl PartialEq for JumpPriorNoiseScale
impl Copy for JumpPriorNoiseScale
impl Eq for JumpPriorNoiseScale
impl StructuralPartialEq for JumpPriorNoiseScale
Auto Trait Implementations§
impl Freeze for JumpPriorNoiseScale
impl RefUnwindSafe for JumpPriorNoiseScale
impl Send for JumpPriorNoiseScale
impl Sync for JumpPriorNoiseScale
impl Unpin for JumpPriorNoiseScale
impl UnwindSafe for JumpPriorNoiseScale
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> IntoEither for T
impl<T> IntoEither for T
§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.