#include <stdint.h>


Go to the source code of this file.
Typedefs | |
| typedef struct ts_dglitch * | p_dglitch |
Enumerations | |
| enum | te_dglitch_type { DG_MEDIAN = 0, DG_NUMBER_OF_DGLITCH_ALGORS } |
Functions | |
| p_dglitch | dglitch_create (te_dglitch_type type, uint32_t window_size) |
| void | dglitch_destroy (p_dglitch *dg) |
| void | dglitch_apply (p_dglitch dg, double *data, uint32_t size) |
| typedef struct ts_dglitch* p_dglitch |
| enum te_dglitch_type |
| void dglitch_apply | ( | p_dglitch | dg, | |
| double * | data, | |||
| uint32_t | size | |||
| ) |
Apply the deglitch algorith to the data.
| dg | Pointer to the deglitch object. | |
| data | Pointer to the data to be deglitched. | |
| size | Number of data points in data. |
Definition at line 101 of file dglitch.c.
References DEBUG_DEGLITCH, dg_push(), dg_sort(), DG_STRIDE, ts_dglitch::sorted_stack, ts_dglitch::stack, and ts_dglitch::window_size.
Referenced by morse_code().

| p_dglitch dglitch_create | ( | te_dglitch_type | type, | |
| uint32_t | window_size | |||
| ) |
Creates a deglitch object.
| type | Type of DeGlitch object to create. |
| window_size | Number of consecutive samples used to compute one deglitched value. |
Definition at line 78 of file dglitch.c.
References ts_dglitch::sorted_stack, ts_dglitch::stack, and ts_dglitch::window_size.
Referenced by morse_start_threads().
| void dglitch_destroy | ( | p_dglitch * | dg | ) |
Destroys, and frees all memory from a deglitch object.
| dg | Pointer to the deglitch object to be freed. |
Definition at line 144 of file dglitch.c.
Referenced by free_all().
1.5.6