# Table Definitions¶

class msnoise.msnoise_table_def.Filter(**kwargs)

Filter base class.

Parameters: ref (int) – The id of the Filter in the database low (float) – The lower frequency bound of the Whiten function (in Hz) high (float) – The upper frequency bound of the Whiten function (in Hz) mwcs_low (float) – The lower frequency bound of the linear regression done in MWCS (in Hz) mwcs_high (float) – The upper frequency bound of the linear regression done in MWCS (in Hz) rms_threshold (float) – Not used anymore mwcs_wlen (float) – Window length (in seconds) to perform MWCS mwcs_step (float) – Step (in seconds) of the windowing procedure in MWCS used (bool) – Is the filter activated for the processing
class msnoise.msnoise_table_def.Job(day, pair, jobtype, flag, lastmod=datetime.datetime(2016, 4, 11, 14, 57, 2, 811000))

Job Object

Parameters: ref (int) – The Job ID in the database day (str) – The day in YYYY-MM-DD format pair (str) – the name of the pair (EXAMPLE?) jobtype (str) – CrossCorrelation (CC) or dt/t (DTT) Job? flag (str) – Status of the Job: “T”odo, “I”n Progress, “D”one.
class msnoise.msnoise_table_def.Station(net, sta, X, Y, altitude, coordinates, instrument, used)

Station Object

Parameters: ref (int) – The Station ID in the database net (str) – The network code of the Station sta (str) – The station code X (float) – The X coordinate of the station Y (float) – The Y coordinate of the station altitude (float) – The altitude of the station coordinates (str) – The coordinates system. “DEG” is WGS84 latitude/ longitude in degrees. “UTM” is expressed in meters. instrument (str) – The instrument code, useful with PAZ correction used (bool) – Whether this station must be used in the computations.
class msnoise.msnoise_table_def.Config(name, value)

Config Object

Parameters: name (str) – The name of the config bit to set. value (str) – The value of parameter name
class msnoise.msnoise_table_def.DataAvailability(net, sta, comp, path, file, starttime, endtime, data_duration, gaps_duration, samplerate, flag)

DataAvailability Object

Parameters: ref (int) – The Station ID in the database net (str) – The network code of the Station sta (str) – The station code comp (str) – The component (channel) path (str) – The full path to the folder containing the file file (str) – The name of the file starttime (datetime) – Start time of the file endtime (datetime) – End time of the file data_duation – Cumulative duration of available data in the file gaps_duration (float) – Cumulative duration of gaps in the file samplerate (float) – Sample rate of the data in the file (in Hz) flag (str) – The status of the entry: “N”ew, “M”odified or “A”rchive