Skip to content

Commit 6fd0837

Browse files
committed
Formatted Markdown files for consistent style and readability
1 parent 380b0fd commit 6fd0837

File tree

4 files changed

+96
-45
lines changed

4 files changed

+96
-45
lines changed

.prettierrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"proseWrap": "always",
3+
"printWidth": 80,
4+
"tabWidth": 2,
5+
"useTabs": false,
6+
"singleQuote": false,
7+
"trailingComma": "none",
8+
"bracketSpacing": true,
9+
"arrowParens": "avoid",
10+
"overrides": [
11+
{
12+
"files": "*.md",
13+
"options": {
14+
"parser": "markdown",
15+
"printWidth": 80,
16+
"tabWidth": 2,
17+
"proseWrap": "always"
18+
}
19+
}
20+
]
21+
}

LICENSE.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@ MIT License
22

33
Copyright (c) 2024 Vorontsov Ilya Aleksandrovich (ilvoron)
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,41 @@
11
# Signal Processing Library (SignalProcesserCPP)
22

3-
This project provides a set of classes for signal generation, processing, file I/O, and visualization using GnuPlot. It is designed for handling basic signal processing tasks, managing signal parameters, and visualizing signals in a clear and flexible way.
3+
This project provides a set of classes for signal generation, processing, file
4+
I/O, and visualization using GnuPlot. It is designed for handling basic signal
5+
processing tasks, managing signal parameters, and visualizing signals in a clear
6+
and flexible way.
47

58
## Features
69

7-
- **Signal Generation**: Generate customizable signal lines with adjustable frequency, amplitude, phase, and more.
8-
- **Signal Line Manipulation**: Modify and retrieve individual points of the signal.
9-
- **File I/O**: Save generated signal lines to files and load them for further processing.
10-
- **GnuPlot Visualization** (must be pre-installed): Easily visualize signal data using GnuPlot with configurable axis and graph labels.
10+
- **Signal Generation**: Generate customizable signal lines with adjustable
11+
frequency, amplitude, phase, and more.
12+
- **Signal Line Manipulation**: Modify and retrieve individual points of the
13+
signal.
14+
- **File I/O**: Save generated signal lines to files and load them for further
15+
processing.
16+
- **GnuPlot Visualization** (must be pre-installed): Easily visualize signal
17+
data using GnuPlot with configurable axis and graph labels.
1118

1219
## Installation
1320

1421
1. Clone the repository:
1522

16-
```bash
17-
git clone https://github.com/ilvoron/SignalProcesserCPP
18-
cd SignalProcesserCPP
19-
```
23+
```bash
24+
git clone https://github.com/ilvoron/SignalProcesserCPP
25+
cd SignalProcesserCPP
26+
```
2027

21-
2. Build the project (assuming a C++ compiler, `cmake` and `make` are installed):
28+
2. Build the project (assuming a C++ compiler, `cmake` and `make` are
29+
installed):
2230

23-
```bash
24-
cd "_build_folder_"
25-
cmake -G "_generator_name_" "_path_to_main_cmake_lists_file_"
26-
make
27-
```
31+
```bash
32+
cd "_build_folder_"
33+
cmake -G "_generator_name_" "_path_to_main_cmake_lists_file_"
34+
make
35+
```
2836

29-
3. Ensure you have [GnuPlot](http://www.gnuplot.info/) installed on your system for visualization functionality.
37+
3. Ensure you have [GnuPlot](http://www.gnuplot.info/) installed on your system
38+
for visualization functionality.
3039

3140
## Usage
3241

@@ -71,25 +80,37 @@ int main() {
7180

7281
## Dependencies
7382

74-
- **C++20** or higher
75-
- **GnuPlot**: Required for signal visualization
76-
- **CMake** & **Make**: For building the project
83+
- **C++20** or higher
84+
- **GnuPlot**: Required for signal visualization
85+
- **CMake** & **Make**: For building the project
7786

7887
## License
7988

80-
This project is licensed under the MIT License. See the [LICENSE.md](./LICENSE.md) file for details.
89+
This project is licensed under the MIT License. See the
90+
[LICENSE.md](./LICENSE.md) file for details.
8191

8292
## Contributing
8393

84-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
85-
Feel free to adjust this template to better reflect your project's structure and the specific functionality you offer.
94+
Pull requests are welcome. For major changes, please open an issue first to
95+
discuss what you would like to change. Feel free to adjust this template to
96+
better reflect your project's structure and the specific functionality you
97+
offer.
8698

8799
---
88100

89101
## Classes Overview
90102

91-
- **SignalProcesserException** - Custom exception class for handling errors during signal processing. It includes additional details like the function name where the error occurred.
92-
- **TSignalLine** - Represents a signal line made up of multiple points. Parameters such as frequency, amplitude, and phase can be customized. You can set, retrieve, and manipulate individual points in the signal.
93-
- **TGenerator** - Generates a signal line based on given parameters. The class supports execution of the signal generation process and provides access to the generated signal line.
94-
- **TFileWriter** - Responsible for writing signal data to a file. Accepts a signal line and a file path and saves the signal data in a specified format.
95-
- **TGnuPlotViewer** - Visualizes the signal data using GnuPlot. You can configure the file path, axis labels, and graph labels, and execute GnuPlot to render the graph.
103+
- **SignalProcesserException** - Custom exception class for handling errors
104+
during signal processing. It includes additional details like the function
105+
name where the error occurred.
106+
- **TSignalLine** - Represents a signal line made up of multiple points.
107+
Parameters such as frequency, amplitude, and phase can be customized. You can
108+
set, retrieve, and manipulate individual points in the signal.
109+
- **TGenerator** - Generates a signal line based on given parameters. The class
110+
supports execution of the signal generation process and provides access to the
111+
generated signal line.
112+
- **TFileWriter** - Responsible for writing signal data to a file. Accepts a
113+
signal line and a file path and saves the signal data in a specified format.
114+
- **TGnuPlotViewer** - Visualizes the signal data using GnuPlot. You can
115+
configure the file path, axis labels, and graph labels, and execute GnuPlot to
116+
render the graph.

SECURITY.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## Supported Versions
44

5-
The table below outlines the versions of `SignalProcesserCPP` that currently receive security updates. Please ensure you are using a supported version to stay protected with the latest patches.
5+
The table below outlines the versions of `SignalProcesserCPP` that currently
6+
receive security updates. Please ensure you are using a supported version to
7+
stay protected with the latest patches.
68

79
| Version | Supported |
810
| ------- | ------------------ |
@@ -11,16 +13,24 @@ The table below outlines the versions of `SignalProcesserCPP` that currently rec
1113

1214
## Reporting a Vulnerability
1315

14-
If you discover a security vulnerability in `SignalProcesserCPP`, please follow the steps below:
16+
If you discover a security vulnerability in `SignalProcesserCPP`, please follow
17+
the steps below:
1518

16-
1. **Where to report**: Please send all vulnerability reports directly to **[telegram](https://t.me/il_voron) (@il.voron)** or email (il.voron.work@gmail.com). Include detailed information, such as steps to reproduce the vulnerability, if applicable.
19+
1. **Where to report**: Please send all vulnerability reports directly to
20+
**[telegram](https://t.me/il_voron) (@il.voron)** or email
21+
(il.voron.work@gmail.com). Include detailed information, such as steps to
22+
reproduce the vulnerability, if applicable.
1723

1824
2. **What to expect**:
25+
1926
- I will acknowledge receipt of your report as soos as I can.
2027
- You will receive updates as I investigate and address the issue.
2128

2229
3. **Response and Resolution**:
23-
- If the vulnerability is confirmed, I will prioritize creating a security patch and release it as soon as possible.
24-
- If the issue is not accepted or determined to be non-critical, I will provide an explanation.
30+
- If the vulnerability is confirmed, I will prioritize creating a security
31+
patch and release it as soon as possible.
32+
- If the issue is not accepted or determined to be non-critical, I will
33+
provide an explanation.
2534

26-
Your help in improving the security of `SignalProcesserCPP` is greatly appreciated, and I will work diligently to resolve any issues you report.
35+
Your help in improving the security of `SignalProcesserCPP` is greatly
36+
appreciated, and I will work diligently to resolve any issues you report.

0 commit comments

Comments
 (0)