pyrocko.squirrel.operators.base¶
Classes
|
Add a suffix to |
|
Group by network.station.location.channel codes. |
|
Filter by codes pattern. |
|
Undocumented. |
|
Base class for |
|
Base class for |
|
Group by network.station.location codes. |
|
Group by network code. |
|
Undocumented. |
|
Undocumented. |
|
Filter by regex. |
|
Group by regex pattern. |
|
Translate |
|
Translate |
|
Undocumented. |
|
Undocumented. |
|
Group by network.station.location.sensor and extra codes. |
|
Undocumented. |
|
Group by network.station codes. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Base class for |
- class Filtering(**kwargs)[source]¶
Bases:
Object
Base class for
pyrocko.squirrel.model.Nut
filters.
- class RegexFiltering(**kwargs)[source]¶
Bases:
Object
Filter by regex.
- ♦ pattern¶
str
, default:'(.*)'
- class CodesPatternFiltering(**kwargs)[source]¶
Bases:
Object
Filter by codes pattern.
- ♦ codes¶
list
ofpyrocko.squirrel.model.CodesNSLCE
objects, optional
- class Grouping(**kwargs)[source]¶
Bases:
Object
Base class for
pyrocko.squirrel.model.Nut
grouping mechanisms.
- class RegexGrouping(**kwargs)[source]¶
Bases:
Grouping
Group by regex pattern.
- ♦ pattern¶
str
, default:'(.*)'
- class NetworkGrouping(**kwargs)[source]¶
Bases:
RegexGrouping
Group by network code.
- ♦ pattern¶
str
, default:'([^.]*)\\.[^.]*\\.[^.]*\\.[^.]*\\.[^.]*'
- class StationGrouping(**kwargs)[source]¶
Bases:
RegexGrouping
Group by network.station codes.
- ♦ pattern¶
str
, default:'([^.]*\\.[^.]*)\\.[^.]*\\.[^.]*\\.[^.]*'
- class LocationGrouping(**kwargs)[source]¶
Bases:
RegexGrouping
Group by network.station.location codes.
- ♦ pattern¶
str
, default:'([^.]*\\.[^.]*\\.[^.]*)\\.[^.]*\\.[^.]*'
- class ChannelGrouping(**kwargs)[source]¶
Bases:
RegexGrouping
Group by network.station.location.channel codes.
This effectively groups all processings of a channel, which may differ in the extra codes attribute.
- ♦ pattern¶
str
, default:'([^.]*\\.[^.]*\\.[^.]*\\.[^.]*)\\.[^.]*'
- class SensorGrouping(**kwargs)[source]¶
Bases:
RegexGrouping
Group by network.station.location.sensor and extra codes.
For sensor all but the last character of the channel code (indicating the component) are used. This effectively groups all components of a sensor, or processings of a sensor.
- ♦ pattern¶
str
, default:'([^.]*\\.[^.]*\\.[^.]*\\.[^.]*)[^.](\\.[^.]*)'
- class Translation(**kwargs)[source]¶
Bases:
Object
Base class for
pyrocko.squirrel.model.Nut
translators.
- class AddSuffixTranslation(**kwargs)[source]¶
Bases:
Translation
Add a suffix to
extra
.- ♦ suffix¶
str
, default:''
- class RegexTranslation(**kwargs)[source]¶
Bases:
AddSuffixTranslation
Translate
pyrocko.squirrel.model.Codes
using a regular expression.- ♦ pattern¶
str
, default:'(.*)'
- ♦ replacement¶
str
, default:'\\1'
- class ReplaceComponentTranslation(**kwargs)[source]¶
Bases:
RegexTranslation
Translate
pyrocko.squirrel.model.Codes
by replacing a component.- ♦ pattern¶
str
, default:'([^.]*\\.[^.]*\\.[^.]*\\.[^.]*)[^.](\\.[^.]*)'
- ♦ replacement¶
str
, default:'\\1{component}\\2'
- class Operator(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ translation¶
Translation
, default:Translation()
- class RestitutionParameters(**kwargs)[source]¶
Bases:
Parameters
Undocumented.
- ♦ frequency_min¶
float
- ♦ frequency_max¶
float
- ♦ frequency_taper_factor¶
float
, default:1.5
- ♦ time_taper_factor¶
float
, default:2.0
- class Restitution(**kwargs)[source]¶
Bases:
Operator
Undocumented.
- ♦ quantity¶
str
(pyrocko.squirrel.model.QuantityType
), default:'displacement'
- class Shift(**kwargs)[source]¶
Bases:
Operator
Undocumented.
- ♦ delay¶
float
(pyrocko.guts.Duration
)