pub struct Channel {Show 14 fields
pub code: String,
pub location_code: String,
pub latitude: f64,
pub longitude: f64,
pub elevation: f64,
pub depth: f64,
pub azimuth: f64,
pub dip: f64,
pub sample_rate: f64,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
pub sensor: Option<Equipment>,
pub data_logger: Option<Equipment>,
pub response: Option<Response>,
}Expand description
A channel — one measurement component at a station.
Channel codes are 3 characters following the SEED naming convention:
- Band code (sample rate/response band): S, B, H, etc.
- Instrument code (sensor type): H (seismometer), N (accelerometer), etc.
- Orientation code (direction): Z (vertical), N (north), E (east), etc.
See docs/guide/02-channel-codes.md for the full breakdown.
Fields§
§code: StringSEED channel code (e.g. “SHZ”, “BHN”, “HNE”)
location_code: StringLocation code (e.g. “00”, “10”, “”)
latitude: f64Channel latitude in degrees (usually same as station)
longitude: f64Channel longitude in degrees (usually same as station)
elevation: f64Channel elevation in meters above sea level
depth: f64Depth of sensor below surface in meters
azimuth: f64Azimuth in degrees from north (0=N, 90=E)
dip: f64Dip in degrees from horizontal (-90=up, 0=horizontal, 90=down)
sample_rate: f64Sample rate in Hz
start_date: Option<DateTime<Utc>>When this channel epoch started
end_date: Option<DateTime<Utc>>When this channel epoch ended (None = still active)
sensor: Option<Equipment>Sensor (geophone, broadband, accelerometer, etc.)
data_logger: Option<Equipment>Data logger / digitizer
response: Option<Response>Instrument response (sensitivity, poles & zeros, etc.)