seisnn.sql.Pick

class seisnn.sql.Pick(time, station, phase, tag, snr=None)[source]

Bases: sqlalchemy.orm.decl_api.Base

Pick table for sql database.

__init__(time, station, phase, tag, snr=None)

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__(time, station, phase, tag[, snr])

A simple constructor that allows initialization from kwargs.

add_db(session)

Add data into session.

Attributes

id

metadata

phase

registry

snr

station

tag

time

add_db(session)[source]

Add data into session.

Parameters

session (sqlalchemy.orm.session.Session) – SQL session.