seisnn.sql.Waveform¶
- class seisnn.sql.Waveform(instance, tfrecord, data_index)[source]¶
Bases:
sqlalchemy.orm.decl_api.Base
Waveform table for sql database.
- __init__(instance, tfrecord, data_index)¶
A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
Methods
__init__
(instance, tfrecord, data_index)A simple constructor that allows initialization from kwargs.
add_db
(session)Add data into session.
Attributes
channel
data_index
endtime
id
metadata
registry
starttime
station
tfrecord