pub struct ExtractionConfig {
pub super_resolution_factor: f64,
pub weighted_by_tot: bool,
pub min_tot_threshold: u16,
}Expand description
Configuration for neutron extraction.
Fields§
§super_resolution_factor: f64Sub-pixel resolution multiplier (default: 8.0).
weighted_by_tot: boolWeight centroids by TOT values.
min_tot_threshold: u16Minimum TOT threshold (0 = disabled).
Implementations§
Source§impl ExtractionConfig
impl ExtractionConfig
Sourcepub fn venus_defaults() -> Self
pub fn venus_defaults() -> Self
Create VENUS/SNS default configuration.
Sourcepub fn with_super_resolution(self, factor: f64) -> Self
pub fn with_super_resolution(self, factor: f64) -> Self
Set super resolution factor.
Sourcepub fn with_weighted_by_tot(self, weighted: bool) -> Self
pub fn with_weighted_by_tot(self, weighted: bool) -> Self
Set TOT weighting.
Sourcepub fn with_min_tot_threshold(self, threshold: u16) -> Self
pub fn with_min_tot_threshold(self, threshold: u16) -> Self
Set minimum TOT threshold.
Trait Implementations§
Source§impl Clone for ExtractionConfig
impl Clone for ExtractionConfig
Source§fn clone(&self) -> ExtractionConfig
fn clone(&self) -> ExtractionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtractionConfig
impl Debug for ExtractionConfig
Auto Trait Implementations§
impl Freeze for ExtractionConfig
impl RefUnwindSafe for ExtractionConfig
impl Send for ExtractionConfig
impl Sync for ExtractionConfig
impl Unpin for ExtractionConfig
impl UnwindSafe for ExtractionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more