pyrocko.model.station¶
Simple representation of a seismic station (Pyrocko classic).
Note
An improved data model for seismic stations is available in
pyrocko.squirrel.model
. This module will stay available for
backward compatibility. Conversion from Squirrel-based to Pyrocko
classic can be achieved with
pyrocko.squirrel.model.Station.get_pyrocko_station()
.
Functions
|
Write stations file. |
|
Write stations file in YAML format. |
|
Read stations file. |
Classes
|
Undocumented. |
|
Undocumented. |
- class Channel(name, azimuth=None, dip=None, gain=1.0)[source]¶
Bases:
Object
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]¶
Bases:
Location
Undocumented.
- ♦ network¶
str
- ♦ station¶
str
- ♦ location¶
str
- ♦ name¶
str
, default:''
- dump_stations(stations, filename)[source]¶
Write stations file.
- Parameters:
stations – list of
Station
objectsfilename – filename as str