Luke O. Cartwright 201225242
Filter Class Reference
#include <Filter.h>
Public Member Functions | |
| Filter () | |
| Constructor. | |
| ~Filter () | |
| Destructor. | |
| int | filter_run (int input, int filter_type, bool init) |
| Runs Main Filter adjusted value due to filter input filter type. | |
| int | LPF (int input, bool init) |
| Implements Low Pass Filter Algorithm. | |
| int | HPF (int input, bool init) |
| Implements High Pass Filter Algorithm. | |
| int | BPF (int input, bool init) |
| Implements Band Pass Filter Algorithm LPF and HPF function. | |
Detailed Description
Filter class.
- Date:
- May 2020
Definition at line 11 of file Filter.h.
Constructor & Destructor Documentation
| Filter | ( | ) |
Constructor.
Definition at line 5 of file Filter.cpp.
| ~Filter | ( | ) |
Destructor.
Definition at line 8 of file Filter.cpp.
Member Function Documentation
| int BPF | ( | int | input, |
| bool | init | ||
| ) |
Implements Band Pass Filter Algorithm LPF and HPF function.
Definition at line 60 of file Filter.cpp.
| int filter_run | ( | int | input, |
| int | filter_type, | ||
| bool | init | ||
| ) |
Runs Main Filter adjusted value due to filter input filter type.
Definition at line 13 of file Filter.cpp.
| int HPF | ( | int | input, |
| bool | init | ||
| ) |
Implements High Pass Filter Algorithm.
Definition at line 45 of file Filter.cpp.
| int LPF | ( | int | input, |
| bool | init | ||
| ) |
Implements Low Pass Filter Algorithm.
Definition at line 30 of file Filter.cpp.
Generated on Tue Jul 12 2022 19:25:36 by
1.7.2