|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Discrete convolution-based filtering on real or complex fields. More...


Go to the source code of this file.
Classes | |
| struct | SimSieveOperatorConfig |
| Configuration parameters for the sieve operator family. More... | |
Typedefs | |
| typedef enum SimSieveMode | SimSieveMode |
| Available response shapes for the sieve operator. | |
| typedef struct SimSieveOperatorConfig | SimSieveOperatorConfig |
| Configuration parameters for the sieve operator family. | |
Enumerations | |
| enum | SimSieveMode { SIM_SIEVE_MODE_LOW_PASS = 0 , SIM_SIEVE_MODE_HIGH_PASS , SIM_SIEVE_MODE_BAND_PASS_DOG , SIM_SIEVE_MODE_BAND_STOP_DOG , SIM_SIEVE_MODE_SAVGOL_SMOOTH , SIM_SIEVE_MODE_SAVGOL_DERIVATIVE , SIM_SIEVE_MODE_HANN_LOW_PASS , SIM_SIEVE_MODE_HANN_HIGH_PASS , SIM_SIEVE_MODE_BLACKMAN_LOW_PASS , SIM_SIEVE_MODE_BLACKMAN_HIGH_PASS , SIM_SIEVE_MODE_TUKEY_LOW_PASS , SIM_SIEVE_MODE_TUKEY_HIGH_PASS } |
| Available response shapes for the sieve operator. More... | |
Functions | |
| SimResult | sim_add_sieve_operator (struct SimContext *context, const SimSieveOperatorConfig *config, size_t *out_index) |
| Register a sieve filtering operator with the provided configuration. | |
| SimResult | sim_sieve_config (struct SimContext *context, size_t operator_index, SimSieveOperatorConfig *out_config) |
| Retrieve the configuration currently bound to a sieve operator. | |
| SimResult | sim_sieve_update (struct SimContext *context, size_t operator_index, const SimSieveOperatorConfig *config) |
| Update an existing sieve operator in-place. | |
Discrete convolution-based filtering on real or complex fields.
Supports Gaussian, difference-of-Gaussians, Savitzky-Golay, and windowed responses. Complex support is component-wise (Re/Im filtered independently).
| enum SimSieveMode |
Available response shapes for the sieve operator.
| SimResult sim_add_sieve_operator | ( | struct SimContext * | context, |
| const SimSieveOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register a sieve filtering operator with the provided configuration.
| context | Simulation context that will own the operator. | |
| config | Optional sieve configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_sieve_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimSieveOperatorConfig * | out_config | ||
| ) |
Retrieve the configuration currently bound to a sieve operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_sieve_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_sieve_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimSieveOperatorConfig * | config | ||
| ) |
Update an existing sieve operator in-place.
Passing NULL for config keeps the current configuration and reapplies normalization. A successful update rebuilds the filter kernel and invalidates the scheduler plan.
| context | Simulation context containing the operator. |
| operator_index | Index of the sieve operator to update. |
| config | Optional replacement configuration. |