From 52d516770dd234130563d8e908993db4d4646aa3 Mon Sep 17 00:00:00 2001 From: estuprofe <67002461+estuprofe@users.noreply.github.com> Date: Thu, 26 Aug 2021 21:21:57 +0200 Subject: [PATCH 1/2] confirmar --- __pycache__/gpx_d.cpython-39.pyc | Bin 0 -> 1477 bytes __pycache__/hrm_d.cpython-39.pyc | Bin 0 -> 2293 bytes __pycache__/training_d.cpython-39.pyc | Bin 0 -> 4088 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 __pycache__/gpx_d.cpython-39.pyc create mode 100644 __pycache__/hrm_d.cpython-39.pyc create mode 100644 __pycache__/training_d.cpython-39.pyc diff --git a/__pycache__/gpx_d.cpython-39.pyc b/__pycache__/gpx_d.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..945d3946bb5d35100173c3a1bde6d6c16dd1929c GIT binary patch literal 1477 zcmZ`(&2A($5cW^Ir!zY<$%e3-hzNzlN(_e_I3O*GP^4XHIiM&KaIprpykpO7Px^0c z&uSC(98mVkE1=}Sfh&(=aYIPt6}UiEHv>Tew_Gk)m0jhkuS*SweFEc$U!SON2Za2B zoBM;q<`ky;1c)Y@=0xJka#}FSDDph#MI@s_NI}U9q9ZNd5-qNoj5Ym|jN>~vOU}kL zBsz0ml~XfjA#zLWgP7%2Wv6Ixe=yjb!gPl~43Sh5$u!mMEs_EnP=Vw1_l2APdpb80>mJ@mmd9^sebO zeNMhPS_|AY0<8Lr2l(Re=th$EmnWJ)AkkT%)>3c=4~_j*R?e#NAPg|Ntn|jdR(Xi3 z+LUd?^<@yXvd+lZTQ$9KGI3^Jn9@5L*A<*_A=1jLAgn6qCh#0iMm{S{=vh(f5nqr3EK)ERD!rkIP( z=mCSXt;jKGG@U~Z)6EKXY4=d%cI7_unDzLt8vML&Yj?ry$?_QGP)W8=4#*lRi#y=B z@7*K~TWrDX&sf8O@Ai=V0b>pfj7O*0Zvg+h6X3_YvZr#N>TD(xL<@3Z2Y=T3@y~4pE`}D~s*RqHSyUUss0Yq>JP;Y>EzhTtWwQhy4lclV|(@ literal 0 HcmV?d00001 diff --git a/__pycache__/hrm_d.cpython-39.pyc b/__pycache__/hrm_d.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f8f880860b2d69d48d2b56f180c0a6707d5486f GIT binary patch literal 2293 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 Date: Thu, 26 Aug 2021 21:42:32 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Traducido=20al=20espa=C3=B1ol=20los=20mensa?= =?UTF-8?q?jes=20al=20usuario?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyPersonalTrainer.bat | 2 +- PyPersonalTrainer.py | 1 + training_d.py | 10 +++--- trd_oview_xlswriter.py | 60 +++++++++++++++++------------------ trd_session_xlswriter.py | 68 ++++++++++++++++++++-------------------- 5 files changed, 72 insertions(+), 69 deletions(-) diff --git a/PyPersonalTrainer.bat b/PyPersonalTrainer.bat index 3b057a4..0c3804a 100644 --- a/PyPersonalTrainer.bat +++ b/PyPersonalTrainer.bat @@ -1 +1 @@ -python PyPersonalTrainer.py -m scan -o ../Ueberblick_2019.xlsx -tf ../Trainingsdaten_2019 -sf ../Trainingsheets_2019 \ No newline at end of file +python PyPersonalTrainer.py -m scan -o ../resumen_2021.xlsx -tf ../datos_2021 -sf ../excels_2021 \ No newline at end of file diff --git a/PyPersonalTrainer.py b/PyPersonalTrainer.py index aa1f04d..c4430c1 100644 --- a/PyPersonalTrainer.py +++ b/PyPersonalTrainer.py @@ -115,6 +115,7 @@ def print_license(): # print(' ') # print(' (C) 2019, jdmorise@yahoo.com') print(' ') + print(' Traducción realizada al español por Luis Zurita Herrera') print(' This program is free software: you can redistribute it and/or modify') print(' it under the terms of the GNU General Public License as published by') print(' the Free Software Foundation, either version 3 of the License, or') diff --git a/training_d.py b/training_d.py index 32c5e62..c90a331 100644 --- a/training_d.py +++ b/training_d.py @@ -79,11 +79,13 @@ def get_type(self): #if((np_hr_hist[4]>0.1) & (0.68*MaxHR < AvgHR < 0.90*MaxHR)): # self.trtype = 'Intervalle' if (AvgHR > (0.90*MaxHR)): - self.trtype = 'Wettkampf' + self.trtype = 'Competición' elif (AvgHR > (0.84*MaxHR)): - self.trtype = 'TDL' + self.trtype = 'Entrenamiento' elif (AvgHR > (0.75*MaxHR)): - self.trtype = 'GA2' + self.trtype = 'Recuperación' + elif (AvgHR > (0.50*MaxHR)): + self.trtype = 'Ruta del colesterol' # elif (AvgHR > (0.85*MaxHR)): # self.trtype = 'GA1' @@ -145,7 +147,7 @@ def get_intervals(self): sum_hrmin = sum(hr_avg < 0.79*MaxHR for hr_avg in self.userlaps.hr_avg) if ((sum_hrmax > 2) & (sum_hrmin >= sum_hrmax)): - self.trtype = 'Intervalle' + self.trtype = 'Intervalos' intlaps_idx = [] for userlap_idx_s in self.userlaps_idx: idx_s = self.userlaps_idx.index(userlap_idx_s) diff --git a/trd_oview_xlswriter.py b/trd_oview_xlswriter.py index 5490b2a..1b62c14 100644 --- a/trd_oview_xlswriter.py +++ b/trd_oview_xlswriter.py @@ -40,8 +40,8 @@ def __init__(self, filename_dict_s, my_training): super(trd_oview_xlswriter,self).__init__(self.xlsx_filename) self.my_tr = my_training - self.months = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] - self.weekdays = ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ] + self.months = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'] + self.weekdays = ['Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa', 'Do' ] if(os.path.exists(self.xlsx_filename)): @@ -63,11 +63,11 @@ def create_oview_sheet(self): # Überblickssheet self.ws = self.wb.active - self.ws.title = "Überblick" - self.ws['A1'] = 'Monat' - self.ws['B1'] = 'Strecke' - self.ws['C1'] = 'Dauer' - self.ws['D1'] = 'Trainingseinheiten' + self.ws.title = "General" + self.ws['A1'] = 'Mess' + self.ws['B1'] = 'Trayecto' + self.ws['C1'] = 'Duración' + self.ws['D1'] = 'Sesión de entrenamiento' for i in range(12): month_s = self.months[i] @@ -89,18 +89,18 @@ def create_oview_sheet(self): # Intervalle def create_interval_sheet(self): self.ws = self.wb.create_sheet('Intervalle') - self.ws['A1'] = 'Datum' - self.ws['B1'] = 'Uhrzeit' - self.ws['C1'] = 'Tag' - self.ws['D1'] = 'Intervalle' - self.ws['E1'] = 'Dist Avg' - self.ws['F1'] = 'Zeit Avg' - self.ws['G1'] = 'Pace Avg' + self.ws['A1'] = 'Datos' + self.ws['B1'] = 'Tiempo' + self.ws['C1'] = 'Etiqueta' + self.ws['D1'] = 'Intervalos' + self.ws['E1'] = 'Distancia media' + self.ws['F1'] = 'Duración media' + self.ws['G1'] = 'Velocidad media' for i in range(10): - self.ws.cell(row=1, column=8+3*i).value = ('Dist #' + str(i)) - self.ws.cell(row=1, column=8+3*i+1).value = ('Zeit #' + str(i)) - self.ws.cell(row=1, column=8+3*i+2).value = ('Pace #' + str(i)) + self.ws.cell(row=1, column=8+3*i).value = ('Distancia #' + str(i)) + self.ws.cell(row=1, column=8+3*i+1).value = ('Duración #' + str(i)) + self.ws.cell(row=1, column=8+3*i+2).value = ('Velocidad #' + str(i)) # Header of Laps self.ws.column_dimensions["A"].width = 13.0 @@ -120,16 +120,16 @@ def create_months_sheet(self): for i in range(12): self.ws = self.wb.create_sheet(self.months[i]) - self.ws['A1'] = 'Datum' - self.ws['B1'] = 'Uhrzeit' - self.ws['C1'] = 'Tag' - self.ws['D1'] = 'Dauer' - self.ws['E1'] = 'Puls Avg' - self.ws['F1'] = 'Puls Max' - self.ws['G1'] = 'Distanz' - self.ws['H1'] = 'Pace' - self.ws['I1'] = 'Running Index' - self.ws['J1'] = 'Training' + self.ws['A1'] = 'Datos' + self.ws['B1'] = 'Tiempo' + self.ws['C1'] = 'Etiqueta' + self.ws['D1'] = 'Duración' + self.ws['E1'] = 'Pulsaciones Medias' + self.ws['F1'] = 'Pulsaciones Máximas' + self.ws['G1'] = 'Distancia' + self.ws['H1'] = 'Velocidad' + self.ws['I1'] = 'Índice de carrera' + self.ws['J1'] = 'Entrenamiento' self.format_header(1, 1, 10, 1) @@ -170,7 +170,7 @@ def update_oview_sheet(self): t = dt1 - dt0 sum_dur += t.total_seconds() - self.ws = self.wb['Überblick'] + self.ws = self.wb['General'] self.ws.cell(column=2, row = dt_t.month+1).value = sum_len self.ws.cell(column=4, row = dt_t.month+1).value = training_no sum_dur_dt = datetime.datetime.fromtimestamp(sum_dur+ts1) @@ -266,7 +266,7 @@ def update_intervals_sheet(self): data_row.append('{0:02d}'.format(floor(int_dur_s/60)) + ':' + '{0:02d}'.format(int_dur_s%60)) data_row.append('{0:02d}'.format(floor(int_pace_s)) + ':' + '{0:02d}'.format(floor(int_pace_s%1*60))) - self.ws = self.wb['Intervalle'] + self.ws = self.wb['Intervalos'] if(self.ws.max_row == 1): style_row = self.append_row(data_row) @@ -317,7 +317,7 @@ def update_workbook(self): self.update_months_row() self.update_oview_sheet() #print(self.my_tr.trtype) - if(self.my_tr.trtype == 'Intervalle'): + if(self.my_tr.trtype == 'Intervalos'): self.update_intervals_sheet() diff --git a/trd_session_xlswriter.py b/trd_session_xlswriter.py index 559cc0a..d7de03f 100644 --- a/trd_session_xlswriter.py +++ b/trd_session_xlswriter.py @@ -46,7 +46,7 @@ def __init__(self, training_filename_dict, my_training): self.wb = Workbook() self.ws = self.wb.active - self.ws.title = "Überblick" + self.ws.title = "General" # Location of HRZones self.hrzones_col = 14 @@ -66,12 +66,12 @@ def write_hrmdata(self): my_row = 2 ts1 = 82800 - self.ws1 = self.wb.create_sheet("Data") - self.ws1['A1'] = 'sec' + self.ws1 = self.wb.create_sheet("Datos") + self.ws1['A1'] = 'Segundos' #self.ws1['B1'] = 'Time' - self.ws1['C1'] = 'HR' - self.ws1['D1'] = 'Speed' - self.ws1['E1'] = 'Pace' + self.ws1['C1'] = 'Pulsaciones' + self.ws1['D1'] = 'Velocidad' + self.ws1['E1'] = 'Paso' self.ws1['F1'] = 'Alt' hrm_length = len(self.mytr.hrm_d.pace_u) for i in range(hrm_length): @@ -88,10 +88,10 @@ def write_hrmdata(self): ## Insert Overview def write_overview(self): - self.ws['A1'] = 'Datum' + self.ws['A1'] = 'Datos' self.ws['A2'] = self.mytr.hrm_d.Start_Date.strftime('%d.%m.%Y') - self.ws['C1'] = 'Dauer' + self.ws['C1'] = 'Duración' dur_h = self.mytr.hrm_d.Length_dt.tm_hour dur_m = self.mytr.hrm_d.Length_dt.tm_min @@ -99,25 +99,25 @@ def write_overview(self): self.ws['C2'] = '{0:02d}'.format(dur_h) + ':' + '{0:02d}'.format(dur_m) + ':' + '{0:02d}'.format(dur_s) - self.ws['B1'] = 'Uhrzeit' + self.ws['B1'] = 'Hora' self.ws['B2'] = self.mytr.hrm_d.Start_Date.strftime("%H:%M:%S") - self.ws['F1'] = 'Puls Avg' + self.ws['F1'] = 'Pulsaciones medias' self.ws['F2'] = int(round(mean(self.mytr.hrm_d.hr),0)) - self.ws['G1'] = 'Puls Max' + self.ws['G1'] = 'Pulsaciones máximas' self.ws['G2'] = max(self.mytr.hrm_d.hr) - self.ws['D1'] = 'Distanz' + self.ws['D1'] = 'Distancia' self.ws['D2'] = int(self.mytr.gpx_d.dist_geod_no_alt[-1])/1000 - self.ws['E1'] = 'Pace' + self.ws['E1'] = 'Paso' self.ws['E2'] = '{0:02d}'.format(int(floor(self.mytr.gpx_d.pace))) + ':' + '{0:02d}'.format(int((self.mytr.gpx_d.pace*60)%60)) - self.ws['H1'] = 'Running Index' + self.ws['H1'] = 'Índice de carrera' self.ws['H2'] = self.mytr.hrm_d.RunningIndex - self.ws['I1'] = 'Training' + self.ws['I1'] = 'Entrenamiento' self.ws['I2'] = self.mytr.trtype #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -130,12 +130,12 @@ def write_autolaps(self): #self.no_autolaps = len(self.mytr.autolaps.idx) self.ws.merge_cells(start_row=my_row-2, start_column=my_col, end_row=my_row-2, end_column=my_col+5) self.ws.cell(row=my_row-2, column = my_col, value='Autolaps') - self.ws.cell(row=my_row-1, column = my_col, value='Runde') - self.ws.cell(row=my_row-1, column = my_col+1, value='Distanz') - self.ws.cell(row=my_row-1, column = my_col+2, value='Dauer') - self.ws.cell(row=my_row-1, column = my_col+3, value='Pace') - self.ws.cell(row=my_row-1, column = my_col+4, value='Puls Avg') - self.ws.cell(row=my_row-1, column = my_col+5, value='Puls Max') + self.ws.cell(row=my_row-1, column = my_col, value='Carrera') + self.ws.cell(row=my_row-1, column = my_col+1, value='Distancia') + self.ws.cell(row=my_row-1, column = my_col+2, value='Duración') + self.ws.cell(row=my_row-1, column = my_col+3, value='Paso') + self.ws.cell(row=my_row-1, column = my_col+4, value='Pulsaciones medias') + self.ws.cell(row=my_row-1, column = my_col+5, value='Pulsaciones máximas') for i in range(self.no_autolaps): self.ws.cell(row=my_row+i, column=my_col, value = i+1) @@ -158,13 +158,13 @@ def write_userlaps(self): #Runden Einfügen self.ws.merge_cells(start_row=my_row-2, start_column=my_col, end_row=my_row-2, end_column=my_col+5) - self.ws.cell(row=my_row-2, column = my_col, value='Userlaps') - self.ws.cell(row=my_row-1, column = my_col, value='Runde') - self.ws.cell(row=my_row-1, column = my_col+1, value='Distanz') - self.ws.cell(row=my_row-1, column = my_col+2, value='Dauer') - self.ws.cell(row=my_row-1, column = my_col+3, value='Pace') - self.ws.cell(row=my_row-1, column = my_col+4, value='Puls Avg') - self.ws.cell(row=my_row-1, column = my_col+5, value='Puls Max') + self.ws.cell(row=my_row-2, column = my_col, value='Vueltas') + self.ws.cell(row=my_row-1, column = my_col, value='Ronda') + self.ws.cell(row=my_row-1, column = my_col+1, value='Distancia') + self.ws.cell(row=my_row-1, column = my_col+2, value='Duración') + self.ws.cell(row=my_row-1, column = my_col+3, value='Paso') + self.ws.cell(row=my_row-1, column = my_col+4, value='Pulsaciones medias') + self.ws.cell(row=my_row-1, column = my_col+5, value='Pulsaciones máximas') for i in range(self.no_userlaps): self.ws.cell(row=my_row+i, column=my_col, value = i+1) self.ws.cell(row=my_row+i, column=my_col+2, value = '{0:02d}'.format(floor(self.mytr.userlaps.dur[i]/60)) + ':' + '{0:02d}'.format(int(self.mytr.userlaps.dur[i]%60))) @@ -197,10 +197,10 @@ def write_hrzones(self): # Write Header # self.ws.merge_cells(start_row=my_row-2, start_column=my_col, end_row=my_row-2, end_column=my_col+1) self.ws.merge_cells(start_row=my_row-1, start_column=my_col, end_row=my_row-1, end_column=my_col+3) - self.ws.cell(column=my_col, row=my_row-1).value = 'Pulszonen' - self.ws.cell(column=my_col, row=my_row).value = 'Zone' + self.ws.cell(column=my_col, row=my_row-1).value = 'Zonas de esfuero' + self.ws.cell(column=my_col, row=my_row).value = 'Zona' self.ws.cell(column=my_col+2, row=my_row).value = '%' - self.ws.cell(column=my_col+3, row=my_row).value = 'Zeit' + self.ws.cell(column=my_col+3, row=my_row).value = 'Duración' # Write HRzones Data for i in range(6): @@ -288,8 +288,8 @@ def create_hrmgraph(self): c1 = ScatterChart() #c1.title = "" c1.style = 13 - c1.y_axis.title = 'Puls (bpm)' - c1.x_axis.title = 'Zeit' + c1.y_axis.title = 'Pulsaciones (bpm)' + c1.x_axis.title = 'Duración' c1.y_axis.title.tx.rich.p[0].r[0].rPr = CharacterProperties(sz=1200) c1.x_axis.title.tx.rich.p[0].r[0].rPr = CharacterProperties(sz=1200) @@ -305,7 +305,7 @@ def create_hrmgraph(self): # Second Chart: Speed c2 = ScatterChart() - c2.y_axis.title = 'Speed (km/h)' + c2.y_axis.title = 'Velocidad (km/h)' c2.y_axis.title.tx.rich.p[0].r[0].rPr = CharacterProperties(sz=1200)