small correct readme, correct plot_flight_borders.py for plot in another devices
This commit is contained in:
parent
31cb99ec0c
commit
0c8b1c5eca
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,5 +5,4 @@
|
||||
*.zip
|
||||
*.log
|
||||
*.txt
|
||||
*.report_*
|
||||
/__pycache__
|
||||
|
@ -23,6 +23,7 @@ git clone http://heagit.cosmos.ru/gamkov/asotr_flight.git
|
||||
3. Enter the repo:
|
||||
```
|
||||
cd <PATH_TO_ASOTR_FLIGHT>
|
||||
mkdir reports
|
||||
```
|
||||
|
||||
## Using
|
||||
@ -45,7 +46,7 @@ csv data will be in directory:
|
||||
You might plot data by using shell-script (for MVN reports), for example:
|
||||
```
|
||||
cd <PATH_TO_ASOTR_FLIGHT>
|
||||
./plot_flight_borders.sh <PATH_TO_ASOTR_CSV>/ 10.03.2025 23.04.2025 14 0
|
||||
./plot_flight_borders.sh <PATH_TO_ASOTR_CSV>/data/ 10.03.2025 23.04.2025 14 0
|
||||
```
|
||||
where:
|
||||
10.03.2025 - start date
|
||||
@ -56,7 +57,7 @@ where:
|
||||
Or you might plot data by using python script directly, for example:
|
||||
```
|
||||
cd <PATH_TO_ASOTR_FLIGHT>
|
||||
python3 plot_flight_borders.py -s <PATH_TO_ASOTR_CSV> -c 100000 -a 01 -b 10.03.2025 -e 15.03.2025 -f 14 -d 0 -p 0
|
||||
python3 plot_flight_borders.py -s <PATH_TO_ASOTR_CSV>/data/ -c 100000 -a 01 -b 10.03.2025 -e 15.03.2025 -f 14 -d 0 -p 0
|
||||
```
|
||||
|
||||
Graphs with data are in the directory:
|
||||
|
@ -114,7 +114,7 @@ def plot_asotr_borders(path_with_data, ch, asotr_kit, begin, end, font=14, cmd=0
|
||||
for i in range(len(channels)):
|
||||
if channels[i] == 1:
|
||||
ax1.plot(data_dict["time_temp"],
|
||||
data_dict['temp'].iloc[:,[i]],
|
||||
data_dict['temp'].iloc[:,i],
|
||||
marker[i],
|
||||
linewidth=width[i],
|
||||
label=legend[i],)
|
||||
@ -123,7 +123,7 @@ def plot_asotr_borders(path_with_data, ch, asotr_kit, begin, end, font=14, cmd=0
|
||||
for i in range(len(channels)):
|
||||
if channels[i] == 1:
|
||||
ax1.plot(data_dict["time_temp_set"],
|
||||
data_dict['temp_set'].iloc[:,[i]],
|
||||
data_dict['temp_set'].iloc[:,i],
|
||||
marker[i],
|
||||
linewidth=width_set[i],
|
||||
label=legend_set[i],)
|
||||
@ -132,7 +132,7 @@ def plot_asotr_borders(path_with_data, ch, asotr_kit, begin, end, font=14, cmd=0
|
||||
for i in range(len(channels)):
|
||||
if channels[i] == 1:
|
||||
ax2.plot(data_dict["time_pow"],
|
||||
data_dict['pow'].iloc[:,[i]],
|
||||
data_dict['pow'].iloc[:,i],
|
||||
marker[i],
|
||||
linewidth=width[i],
|
||||
label=legend[i],)
|
||||
|
Loading…
x
Reference in New Issue
Block a user