Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

34 commponents issue rediscovered in tutorials #40

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
2 changes: 1 addition & 1 deletion Tutorials/Tutorial_01/circ_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def run_case(row, output_path, N_cycles, dt):
ind = model.time_object.n_c

# Get the raw pressure signal...
raw_signal = model.commponents["ao"].P[-ind:]
raw_signal = model.components["ao"].P[-ind:]

# Resamples the raw signals (variable length) to a standard 100 time points resolution
resampled_dt, resampled_signal = signal_get_pulse(raw_signal, model.time_object.dt)
Expand Down
2,001 changes: 2,001 additions & 0 deletions Tutorials/Tutorial_01/data/input/input_parameters_2000.csv

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca1/s1_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,S1
lv.k_pas,0.4967415416631023
T,0.1411744610490576
lv.E_act,0.09747760100629148
art.r,0.07816420152114471
ven.c,0.04516297902272398
lv.E_pas,0.03982975821383736
la.k_pas,0.01817470324202461
art.c,0.015248526750466599
ao.c,0.0022417592192951826
la.E_pas,0.0019197928382030183
la.E_act,0.0016658865170825184
av.r,0.0006716410947172182
ven.r,0.00039416452577817606
la.v_ref,0.000297796467825093
mv.r,-0.00026564632058904795
ao.r,-0.0011253401708154155
lv.v_ref,-0.0016459051107987931
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca1/st_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
lv.k_pas,0.5200467687799436
T,0.16660411768106761
lv.E_act,0.11394401064991273
art.r,0.09284801328211646
ven.c,0.05379554789914217
lv.E_pas,0.042581378669203446
art.c,0.023934022938009145
la.k_pas,0.016537807786911482
ao.c,0.005145799688929605
ao.r,0.0027760712518225114
la.E_act,0.0026114626407715597
ven.r,0.00192464693467053
la.E_pas,0.0019143387802109861
mv.r,0.0012194214495411413
la.v_ref,0.0006549963192471515
av.r,0.0006020339226706061
lv.v_ref,0.0005889159656748305
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca1/st_cumsum_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
lv.k_pas,0.4963560164434911
T,0.6553704765645758
lv.E_act,0.7641237630362341
art.r,0.8527420811838942
ven.c,0.9040869706450034
lv.E_pas,0.9447285528252036
art.c,0.967572260345679
la.k_pas,0.9833566876060913
ao.c,0.988268070174635
ao.r,0.9909176773842916
la.E_act,0.9934101747350691
ven.r,0.9952471442980075
la.E_pas,0.9970742752948946
mv.r,0.9982381459492204
la.v_ref,0.9988633038837067
av.r,0.999437912125811
lv.v_ref,1.0
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca2/s1_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,S1
art.r,0.3120035347646762
lv.k_pas,0.1644847444586456
ao.r,0.14305200665962908
ao.c,0.06930042410771352
T,0.06686347748770656
lv.E_act,0.0369710717058946
lv.E_pas,0.006200280493842553
art.c,0.005989448187438672
ven.c,0.005338490962193522
la.v_ref,0.003301016713380724
la.E_act,0.002462192355169687
mv.r,-0.0007518541824519396
la.E_pas,-0.0011908525561373242
la.k_pas,-0.0015211021056158811
lv.v_ref,-0.0021849470310234265
ven.r,-0.0037723834345089824
av.r,-0.004102675747117407
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca2/st_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
art.r,0.3833232937616872
lv.k_pas,0.24881127892779936
ao.r,0.2055035942043401
ao.c,0.1242891120430541
T,0.1057902711376601
lv.E_act,0.049328866849006045
lv.E_pas,0.02319810592088946
art.c,0.016622432974893284
ven.c,0.009959625174458551
la.k_pas,0.008857228979373747
la.E_act,0.004193345197196544
mv.r,0.003202197074417515
ven.r,0.0031171802849364375
lv.v_ref,0.003043718179109454
la.v_ref,0.0028627897929660137
av.r,0.002536426577210221
la.E_pas,0.00241725340893204
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca2/st_cumsum_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
art.r,0.3202214959416807
lv.k_pas,0.5280740351483291
ao.r,0.6997481009524751
ao.c,0.8035770256106088
T,0.8919523459500989
lv.E_act,0.9331608083435092
lv.E_pas,0.9525400954932725
art.c,0.9664261818335402
ven.c,0.9747462764489389
la.k_pas,0.9821454487920536
la.E_act,0.9856484951602217
mv.r,0.9883235539269545
ven.r,0.9909275911722955
lv.v_ref,0.9934702594744865
la.v_ref,0.9958617834047804
av.r,0.9979806692802772
la.E_pas,1.0
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca3/s1_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,S1
T,0.39511354471976584
ao.r,0.1761674743690959
art.r,0.10211768254072745
art.c,0.08879790268652603
lv.k_pas,0.08342045688864674
ao.c,0.026210682302134945
lv.E_act,0.012644416801058685
ven.c,0.011049519808673447
mv.r,0.007421713528876667
lv.E_pas,0.005912768479094278
ven.r,0.005262586158718894
la.E_pas,0.002805188460990181
lv.v_ref,0.002636968815668091
la.v_ref,0.0019328786665448719
av.r,0.00010928432677745744
la.k_pas,-0.0009226899954692373
la.E_act,-0.00234002906430051
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca3/st_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
T,0.45077718696212254
ao.r,0.19467007907599534
lv.k_pas,0.1731381652126324
art.r,0.14422866746767224
art.c,0.13432987691472828
ao.c,0.06425355756889659
lv.E_act,0.04602381348068619
lv.E_pas,0.027323549702766164
ven.c,0.02550873594794144
la.k_pas,0.01665587328581359
la.E_pas,0.014290785879092327
la.v_ref,0.01344051722738124
mv.r,0.012783652376257086
la.E_act,0.012010782977881967
ven.r,0.01201054661046881
av.r,0.011940972694059885
lv.v_ref,0.011569738812411587
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca3/st_cumsum_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
T,0.33025022133425236
ao.r,0.47287020868380286
lv.k_pas,0.5997153974747848
art.r,0.7053807921123031
art.c,0.8037940944399107
ao.c,0.8508677978623161
lv.E_act,0.8845859518156576
lv.E_pas,0.9046038422457121
ven.c,0.9232921564204765
la.k_pas,0.9354946502428122
la.E_pas,0.945964424082559
la.v_ref,0.9558112706346282
mv.r,0.9651768821802582
la.E_act,0.9739762709948844
ven.r,0.9827754866410523
av.r,0.9915237307608038
lv.v_ref,1.0
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca4/s1_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,S1
T,0.5002161299770672
art.r,0.07970710193181055
ao.r,0.06387496718780498
art.c,0.0594900075576269
ao.c,0.030605619145745007
lv.E_act,0.017485080172940603
la.E_act,0.009099700406407367
la.v_ref,0.008968284318571544
la.E_pas,0.007829285456839457
mv.r,0.007432150395427842
ven.r,0.0015063254233093277
la.k_pas,7.34578369829469e-05
lv.E_pas,2.0009102399673418e-05
lv.v_ref,-0.00015551788634942122
av.r,-0.0008060573745964583
ven.c,-0.006765940013737537
lv.k_pas,-0.010056705821872127
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca4/st_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
T,0.6086527965532545
art.c,0.1992123779246193
art.r,0.16771448187717392
lv.k_pas,0.14470438382800135
ao.r,0.07798384938551907
ao.c,0.07640490029071455
lv.E_act,0.05716388609098575
ven.c,0.04948875341978345
lv.E_pas,0.031508000548784845
la.k_pas,0.026036096270219612
la.E_pas,0.01981899843140677
ven.r,0.01927305251697198
av.r,0.01635320184538273
lv.v_ref,0.015128323302218149
mv.r,0.014797943048678248
la.v_ref,0.013612411689609394
la.E_act,0.0131686779096835
18 changes: 18 additions & 0 deletions Tutorials/Tutorial_01/results/pca4/st_cumsum_2000.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
,ST
T,0.3924204451018643
art.c,0.5208598615601109
art.r,0.6289914465967216
lv.k_pas,0.7222875901970524
ao.r,0.7725665950088615
ao.c,0.8218275943007991
lv.E_act,0.858683216669757
ven.c,0.8905904037466977
lv.E_pas,0.9109047499053654
la.k_pas,0.9276911617068605
la.E_pas,0.9404691859432862
ven.r,0.9528952191267549
av.r,0.9634387191046512
lv.v_ref,0.9731924956378736
mv.r,0.9827332640868792
la.v_ref,0.9915096776421877
la.E_act,1.0
4 changes: 2 additions & 2 deletions Tutorials/Tutorial_01/step1_creating_the_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "gperksmax",
"language": "python",
"name": "python3"
},
Expand All @@ -396,7 +396,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
"version": "3.10.4"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions Tutorials/Tutorial_01/step2_pca_and_cross_validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "gperksmax",
"language": "python",
"name": "python3"
},
Expand All @@ -359,7 +359,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
"version": "3.10.4"
}
},
"nbformat": 4,
Expand Down
Loading