pub struct BankBinningParams {
pub n_bins: usize,
pub tof_min_us: f64,
pub tof_max_us: f64,
}Expand description
TOF binning parameters for a 1-D NXevent_data bank spectrum (issue #637).
NXevent_data banks (facility NeXus convention: /entry/<bank>/ with
event_time_offset, event_index, event_time_zero) have no per-event
pixel coordinates in the general case (monitors never do), so the result
is a 1-D TOF spectrum rather than a (tof, y, x) cube.
Fields§
§n_bins: usizeNumber of TOF bins.
tof_min_us: f64Minimum TOF in microseconds (inclusive).
tof_max_us: f64Maximum TOF in microseconds (exclusive).
Trait Implementations§
Source§impl Clone for BankBinningParams
impl Clone for BankBinningParams
Source§fn clone(&self) -> BankBinningParams
fn clone(&self) -> BankBinningParams
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 BankBinningParams
impl Debug for BankBinningParams
impl Copy for BankBinningParams
Auto Trait Implementations§
impl Freeze for BankBinningParams
impl RefUnwindSafe for BankBinningParams
impl Send for BankBinningParams
impl Sync for BankBinningParams
impl Unpin for BankBinningParams
impl UnsafeUnpin for BankBinningParams
impl UnwindSafe for BankBinningParams
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