pub struct EventBinningParams {
pub n_bins: usize,
pub tof_min_us: f64,
pub tof_max_us: f64,
pub height: usize,
pub width: usize,
}Expand description
Parameters for histogramming neutron event data into a 3D grid.
Fields§
§n_bins: usizeNumber of TOF bins.
tof_min_us: f64Minimum TOF in microseconds.
tof_max_us: f64Maximum TOF in microseconds.
height: usizeDetector height in pixels.
width: usizeDetector width in pixels.
Trait Implementations§
Source§impl Clone for EventBinningParams
impl Clone for EventBinningParams
Source§fn clone(&self) -> EventBinningParams
fn clone(&self) -> EventBinningParams
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 moreAuto Trait Implementations§
impl Freeze for EventBinningParams
impl RefUnwindSafe for EventBinningParams
impl Send for EventBinningParams
impl Sync for EventBinningParams
impl Unpin for EventBinningParams
impl UnsafeUnpin for EventBinningParams
impl UnwindSafe for EventBinningParams
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