station

exception ChannelsNotOrthogonal[source]
class Channel(name, azimuth=None, dip=None, gain=1.0)[source]

Undocumented.

name

str

azimuth

float, optional

dip

float, optional

gain

float, default: 1.0

class Station(network='', station='', location='', lat=0.0, lon=0.0, elevation=0.0, depth=0.0, north_shift=0.0, east_shift=0.0, name='', channels=None)[source]

Undocumented.

network

str

station

str

location

str

name

str, default: ''

channels

list of Channel objects, default: []

dump_stations(stations, filename)[source]

Write stations file.

Parameters
  • stations – list of Station objects

  • filename – filename as str

dump_stations_yaml(stations, filename)[source]

Write stations file in YAML format.

Parameters
  • stations – list of Station objects

  • filename – filename as str

load_stations(filename, format='detect')[source]

Read stations file.

Parameters

filename – filename

Returns

list of Station objects