Esempio n. 1
0
               show_com_event=show_com_event,
               show_c7_event=show_c7_event)


#
# amp1_full_data, amp1 = load_pickle("adulte_amp_1"), Moves.from_analysis([load_pickle("adulte_amp_1")])
# amp2_full_data, amp2 = load_pickle("adulte_amp_2"), Moves.from_analysis([load_pickle("adulte_amp_2")])
# amp3_full_data, amp3 = load_pickle("adulte_amp_3"), Moves.from_analysis([load_pickle("adulte_amp_3")])
# amp4_full_data, amp4 = load_pickle("adulte_amp_4"), Moves.from_analysis([load_pickle("adulte_amp_4")])
# # #
# vit1_full_data, vit1 = load_pickle("adulte_vit_1"), Moves.from_analysis([load_pickle("adulte_vit_1")])
# vit2_full_data, vit2 = load_pickle("adulte_vit_2"), Moves.from_analysis([load_pickle("adulte_vit_2")])
# vit3_full_data, vit3 = load_pickle("adulte_vit_3"), Moves.from_analysis([load_pickle("adulte_vit_3")])
# vit4_full_data, vit4 = load_pickle("adulte_vit_4"), Moves.from_analysis([load_pickle("adulte_vit_4")])
#
amp_td_full_data, amp_td = load_pickle("amp_td"), Moves.from_analysis(
    [load_pickle("amp_td")])
vit_td_full_data, vit_td = load_pickle("vit_td"), Moves.from_analysis(
    [load_pickle("vit_td")])
# plot_condition(amp1,name = "amp1_std", show_std = True, show_cof_event=False, show_com_event=False, show_c7_event=False)
# plot_condition(amp1, name = "amp1_event", show_std = False, show_cof_event=True, show_com_event=True, show_c7_event=True)
#
# plot_condition(amp2,name = "amp2_std", show_std = True, show_cof_event=False, show_com_event=False, show_c7_event=False)
# plot_condition(amp2, name = "amp2_event", show_std = False, show_cof_event=True, show_com_event=True, show_c7_event=True)
#
# plot_condition(amp3,name = "amp3_std", show_std = True, show_cof_event=False, show_com_event=False, show_c7_event=False)
# plot_condition(amp3, name = "amp3_event", show_std = False, show_cof_event=True, show_com_event=True, show_c7_event=True)
#
# plot_condition(amp4,name = "amp4_std", show_std = True, show_cof_event=False, show_com_event=False, show_c7_event=False)
# plot_condition(amp4, name = "amp4_event", show_std = False, show_cof_event=True, show_com_event=True, show_c7_event=True)
#
# plot_condition(vit1,name = "vit1_std", show_std = True, show_cof_event=False, show_com_event=False, show_c7_event=False)
Esempio n. 2
0
# rep1 = analyse.AnalyseChildCPMultiSenso(lst_patient_id, repetition=1)
# rep2 = analyse.AnalyseChildCPMultiSenso(lst_patient_id, repetition=2)
# rep3 = analyse.AnalyseChildCPMultiSenso(lst_patient_id, repetition=3)
# rep4 = analyse.AnalyseChildCPMultiSenso(lst_patient_id, repetition=4)
#
# create_pickle("rep1_ms_cp", rep1)
# create_pickle("rep2_ms_acp", rep2)
# create_pickle("rep3_ms_cp", rep3)
# create_pickle("rep4_ms_cp", rep4)

r1 = load_pickle("rep1_ms_cp")
r2 = load_pickle("rep2_ms_cp")
r3 = load_pickle("rep3_ms_cp")
r4 = load_pickle("rep4_ms_cp")

moves = Moves.from_analysis([r1, r2, r3, r4])

df = create_df_multisenso_single_col(moves).replace('NaN', np.nan)

#
create_pickle('multisenso_df', df)

output_path = 'C:/Users/tousi/Documents/Labo_Laurent_Ballaz/Projet_ChopLo/pyChoplo_output/'
folder = 'df_excel/'
path = output_path + folder

df_success = df.loc[df['target_reach'] == 'success']
df_success_and_cm = df.loc[(df['target_reach'] == 'success')
                           & (df['have_cm'] == 'with_cm')]

df_success_and_cm = filter_outlier(df_success_and_cm)
Esempio n. 3
0
# amp2 = analyse.AnalyseAdult(lst_adulte, 'amp', 2)
# amp3 = analyse.AnalyseAdult(lst_adulte, 'amp', 3)
amp4 = analyse.AnalyseAdult(lst_adulte, 'amp', 4)
# # # #
# vit1 = analyse.AnalyseAdult(lst_adulte, 'vit', 1)
# vit2 = analyse.AnalyseAdult(lst_adulte, 'vit', 2)
# vit3 = analyse.AnalyseAdult(lst_adulte, 'vit', 3)
vit4 = analyse.AnalyseAdult(lst_adulte, 'vit', 4)
# # #
# #
# #
#
# create_pickle("adulte_amp_1", amp1)
# create_pickle("adulte_amp_2", amp2)
# create_pickle("adulte_amp_3", amp3)
create_pickle("adulte_amp_4", amp4)
# # #
# create_pickle("adulte_vit_1", vit1)
# create_pickle("adulte_vit_2", vit2)
# create_pickle("adulte_vit_3", vit3)
create_pickle("adulte_vit_4", vit4)

# a1 = Moves.from_analysis([load_pickle("adulte_amp_1")])
# a2 = Moves.from_analysis([load_pickle("adulte_amp_2")])
# a3 = Moves.from_analysis([load_pickle("adulte_amp_3")])
a4 = Moves.from_analysis([load_pickle("adulte_amp_4")])
#
# v1 = Moves.from_analysis([load_pickle("adulte_vit_1")])
# v2 = Moves.from_analysis([load_pickle("adulte_vit_2")])
# v3 = Moves.from_analysis([load_pickle("adulte_vit_3")])
v4 = Moves.from_analysis([load_pickle("adulte_vit_4")])