pub struct ChiDatData {
pub header_lines: Vec<String>,
pub wave_number: Array1<f64>,
pub chi: Array1<f64>,
pub magnitude: Array1<f64>,
pub phase: Array1<f64>,
pub phase_minus_2kr: Option<Array1<f64>>,
pub ckp_real: Option<Array1<f64>>,
pub ckp_imag: Option<Array1<f64>>,
}Expand description
Parsed FEFF chi.dat or chipNNNN.dat contents.
Fields§
§header_lines: Vec<String>Header and comment lines before and around the numeric spectrum table.
wave_number: Array1<f64>Photoelectron wave number in inverse Angstrom.
chi: Array1<f64>EXAFS fine structure value.
magnitude: Array1<f64>Magnitude of the complex accumulated EXAFS contribution.
phase: Array1<f64>Unwrapped complex phase in radians.
phase_minus_2kr: Option<Array1<f64>>Optional per-path phase - 2kr column from chipNNNN.dat.
ckp_real: Option<Array1<f64>>Optional real part of diagnostic complex ckp.
ckp_imag: Option<Array1<f64>>Optional imaginary part of diagnostic complex ckp.
Implementations§
Source§impl ChiDatData
impl ChiDatData
Sourcepub fn point_count(&self) -> usize
pub fn point_count(&self) -> usize
Number of spectrum rows.
Sourcepub fn has_path_phase(&self) -> bool
pub fn has_path_phase(&self) -> bool
Whether this table has the per-path phase - 2kr column.
Sourcepub fn has_complex_wave_number(&self) -> bool
pub fn has_complex_wave_number(&self) -> bool
Whether this table has diagnostic real/imaginary ckp columns.
Trait Implementations§
Source§impl Clone for ChiDatData
impl Clone for ChiDatData
Source§fn clone(&self) -> ChiDatData
fn clone(&self) -> ChiDatData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChiDatData
impl Debug for ChiDatData
Source§impl FeffCodec for ChiDatData
impl FeffCodec for ChiDatData
Source§impl PartialEq for ChiDatData
impl PartialEq for ChiDatData
impl StructuralPartialEq for ChiDatData
Auto Trait Implementations§
impl Freeze for ChiDatData
impl RefUnwindSafe for ChiDatData
impl Send for ChiDatData
impl Sync for ChiDatData
impl Unpin for ChiDatData
impl UnsafeUnpin for ChiDatData
impl UnwindSafe for ChiDatData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
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