It applies a medium filter to a csv file and generates a filtered data csv and both an unfiltered and filtered plot of the data.
- Python3 (https://www.python.org/downloads/)
git clone https://github.com/MrStafford/denoise.git
cd denoise
pip3 install -r requirements.txt
- Simplest example
# inpout_path : must be a CSV file
# output_path : must be a CSV file
python3 denoise/denoise.py --input_path denoise/resources/P-SOI2.csv --output_path P-SOI2.csv
- With dpi settings
# dpi : int(200-2400)
python3 denoise/denoise.py --input_path denoise/resources/P-SOI2.csv --output_path P-SOI2.csv --dpi 600
- With window size settings
# window_size : must be an odd number in the form of x, y
python3 denoise/denoise.py --input_path denoise/resources/P-SOI2.csv --output_path P-SOI2.csv --window_size 3,3