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
- Attributes
- high
- low
- mwcs_high
- mwcs_low
- mwcs_step
- mwcs_wlen
- ref
- rms_threshold
- used
-
class
msnoise.msnoise_table_def.
Job
(day, pair, jobtype, flag, lastmod=datetime.datetime(2020, 2, 25, 16, 25, 15, 587613))¶ Job Object
- Parameters
- Attributes
- day
- flag
- jobtype
- lastmod
- pair
- ref
-
class
msnoise.msnoise_table_def.
Station
(*args)¶ 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.
- Attributes
- X
- Y
- altitude
- coordinates
- instrument
- net
- ref
- sta
- used
-
class
msnoise.msnoise_table_def.
Config
(name, value)¶ Config Object
-
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
- Attributes
- comp
- data_duration
- endtime
- file
- flag
- gaps_duration
- net
- path
- ref
- samplerate
- sta
- starttime