xdas.atoms#
Base Atom class#
Constructor
|
The base class for atoms. |
Attributes
Dict of the current state, including nested atom states. |
|
|
Methods
|
Initialise the atom from a first chunks of data. |
Initialise the atom from its current state. |
|
|
Process a chunk of data. |
Reset all state entries to |
|
|
Serialise the current state to a NetCDF4 file at path. |
|
Restore the atom state from a previously saved state dict. |
|
Load the atom state from the NetCDF4 file at path. |
Core atoms#
|
A class to handle a sequence of operations. |
|
A class to declare a new state or to update a preexising one into an Atom object. |
Partial#
|
Wraps a function into an Atom. |
Attributes
|
|
Methods
|
Call the wrapped function with x substituted at the |
|
Reconstruct a |
|
Return a JSON-serialisable dict describing the wrapped function and args. |
Decorators#
|
Make the function return an Atom if ... or an atom is passed as argument. |
Signal processing#
|
Stateful integer downsampling by selecting every factor-th sample. |
|
Pipeline implementation of an FIR filter. |
|
Pipeline implementation of an IIR filter. |
|
Stateful direct-form IIR/FIR filter using |
|
Wraps a SeisBench phase-picking model as a streaming |
|
Pipeline implementation of polyphase-filter resampling. |
|
Stateful second-order-sections IIR filter using |
|
Find picks in a data array along a given axis based on a given threshold. |
|
Integer upsampling by zero-insertion (and optional energy scaling). |