pub struct SacHeader {Show 30 fields
pub delta: f32,
pub depmin: f32,
pub depmax: f32,
pub b: f32,
pub e: f32,
pub o: f32,
pub a: f32,
pub dist: f32,
pub az: f32,
pub baz: f32,
pub cmpaz: f32,
pub cmpinc: f32,
pub stla: f32,
pub stlo: f32,
pub stel: f32,
pub evla: f32,
pub evlo: f32,
pub evdp: f32,
pub mag: f32,
pub npts: i32,
pub nzyear: i32,
pub nzjday: i32,
pub nzhour: i32,
pub nzmin: i32,
pub nzsec: i32,
pub nzmsec: i32,
pub nvhdr: i32,
pub kstnm: String,
pub kcmpnm: String,
pub knetwk: String,
}Expand description
SAC (Seismic Analysis Code) file header.
The SAC header is 632 bytes containing float, integer, logical, enumerated, and character fields.
Fields§
§delta: f32Sampling interval in seconds (delta).
depmin: f32Minimum value of dependent variable.
depmax: f32Maximum value of dependent variable.
b: f32Begin time of the independent variable (seconds).
e: f32End time of the independent variable (seconds).
o: f32Event origin time (seconds relative to reference).
a: f32First arrival time (seconds).
dist: f32Station-event distance in km.
az: f32Event-to-station azimuth in degrees.
baz: f32Back azimuth in degrees.
cmpaz: f32Component azimuth (degrees from North, clockwise).
cmpinc: f32Component inclination (degrees from vertical down).
stla: f32Station latitude in degrees.
stlo: f32Station longitude in degrees.
stel: f32Station elevation in meters.
evla: f32Event latitude in degrees.
evlo: f32Event longitude in degrees.
evdp: f32Event depth in km.
mag: f32Event magnitude.
npts: i32Number of points (samples).
nzyear: i32Beginning time year.
nzjday: i32Beginning time day-of-year.
nzhour: i32Beginning time hour.
nzmin: i32Beginning time minute.
nzsec: i32Beginning time second.
nzmsec: i32Beginning time millisecond.
nvhdr: i32SAC version number.
kstnm: StringStation name (up to 8 characters).
kcmpnm: StringChannel name (up to 8 characters).
knetwk: StringNetwork name (up to 8 characters).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SacHeader
impl RefUnwindSafe for SacHeader
impl Send for SacHeader
impl Sync for SacHeader
impl Unpin for SacHeader
impl UnsafeUnpin for SacHeader
impl UnwindSafe for SacHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.