Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_Gy,dose_rate_factor,time_s,dose_rate_water_Gy_s,dose_rate_air_Gy_s,k_s,dose_rate_air_Gy_min,k_s_IonTracks,difference,relative_error_%,absolute_error
150,0.672,1.0,0.004184,4.167,3.665,1.0025,219.9,1.0031842406192852,0.0006842406192852923,0.06825342835763515,0.0006842406192852923
150,0.672,0.5,0.008216,2.122,1.866,1.0013,111.96000000000001,1.0017329029459692,0.0004329029459690936,0.04323409027954595,0.0004329029459690936
150,0.672,0.2,0.020117,0.867,0.762,1.0005,45.72,1.0008665681172764,0.00036656811727642236,0.03663849248140154,0.00036656811727642236
226,0.673,1.0,0.00277,6.378,5.61,1.0038,336.6,1.0048431258084969,0.0010431258084968587,0.10391769361395284,0.0010431258084968587
226,0.673,0.5,0.005401,3.271,2.877,1.0019,172.61999999999998,1.0024726720052124,0.0005726720052123824,0.05715859918279093,0.0005726720052123824
226,0.673,0.2,0.013849,1.276,1.122,1.0008,67.32000000000001,1.0011052430184895,0.0003052430184895538,0.030499901927413454,0.0003052430184895538
244,0.676,1.0,0.002562,6.939,6.103,1.0041,366.18,1.0052501443661495,0.0011501443661494637,0.11454480292296222,0.0011501443661494637
244,0.676,0.5,0.00525,3.386,2.978,1.002,178.68,1.0025627978554872,0.0005627978554871849,0.056167450647423636,0.0005627978554871849
244,0.676,0.2,0.012956,1.372,1.207,1.0008,72.42,1.0011478459597463,0.00034784595974635124,0.03475679054220136,0.00034784595974635124
70,0.825,1.0,0.022265,0.936,0.823,1.0006,49.379999999999995,1.0010939815127191,0.0004939815127191771,0.04936853015382542,0.0004939815127191771
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_rate_air_Gy_s,k_s,k_s_IonTracks,difference,relative_error_%,absolute_error
150,3.665,1.0025,1.0031842406192852,0.0006842406192852923,0.06825342835763515,0.0006842406192852923
150,1.866,1.0013,1.0017329029459692,0.0004329029459690936,0.04323409027954595,0.0004329029459690936
150,0.762,1.0005,1.0008665681172764,0.00036656811727642236,0.03663849248140154,0.00036656811727642236
226,5.61,1.0038,1.0048431258084969,0.0010431258084968587,0.10391769361395284,0.0010431258084968587
226,2.877,1.0019,1.0024726720052124,0.0005726720052123824,0.05715859918279093,0.0005726720052123824
226,1.122,1.0008,1.0011052430184895,0.0003052430184895538,0.030499901927413454,0.0003052430184895538
244,6.103,1.0041,1.0052501443661495,0.0011501443661494637,0.11454480292296222,0.0011501443661494637
244,2.978,1.002,1.0025627978554872,0.0005627978554871849,0.056167450647423636,0.0005627978554871849
244,1.207,1.0008,1.0011478459597463,0.00034784595974635124,0.03475679054220136,0.00034784595974635124
70,0.823,1.0006,1.0010939815127191,0.0004939815127191771,0.04936853015382542,0.0004939815127191771
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Energy_MeV,k_s_experimental,k_s_IonTracks,difference,relative_error_%
70,1.0006,1.0003619141760138,-0.00023808582398610056,-0.023794305815120986
150,1.0005,1.0002065945483714,-0.0002934054516285922,-0.02932588222174835
226,1.0008,1.0001579920055679,-0.0006420079944320367,-0.06414947985931622
244,1.0008,1.0001507878033964,-0.0006492121966035214,-0.06486932420099135
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
Command: C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\venv\Scripts\python.exe -u C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\test_experimental_data.py --backend cython --output-dir C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\benchmark_results\cython\run_001
Return code: 0
Elapsed time: 1197.70 seconds

======================================================================
STDOUT:
======================================================================
======================================================================
TESTING EXPERIMENTAL DATA DCPT 2019
======================================================================

Loaded 10 experimental measurements
Energies: [np.int64(70), np.int64(150), np.int64(226), np.int64(244)] MeV
Voltage: 200 V
Electrode gap: 0.2 cm

======================================================================
METHOD 1: INITIAL RECOMBINATION
======================================================================
Calculating for 70 MeV...
Calculating for 150 MeV...
Calculating for 226 MeV...
Calculating for 244 MeV...

Initial Recombination Comparison:
Energy_MeV k_s_experimental k_s_IonTracks difference relative_error_%
70 1.0006 1.000362 -0.000238 -0.023794
150 1.0005 1.000207 -0.000293 -0.029326
226 1.0008 1.000158 -0.000642 -0.064149
244 1.0008 1.000151 -0.000649 -0.064869

======================================================================
METHOD 2: CONTINUOUS BEAM (General Recombination)
======================================================================
WARNING: This may take several minutes...
Progress: 1/10 (10.0%)
Progress: 6/10 (60.0%)

Continuous Beam Comparison:
Energy_MeV dose_rate_air_Gy_s k_s k_s_IonTracks difference relative_error_%
70 0.823 1.0006 1.001094 0.000494 0.049
150 0.762 1.0005 1.000867 0.000367 0.037
150 1.866 1.0013 1.001733 0.000433 0.043
150 3.665 1.0025 1.003184 0.000684 0.068
226 1.122 1.0008 1.001105 0.000305 0.030
226 2.877 1.0019 1.002473 0.000573 0.057
226 5.610 1.0038 1.004843 0.001043 0.104
244 1.207 1.0008 1.001148 0.000348 0.035
244 2.978 1.0020 1.002563 0.000563 0.056
244 6.103 1.0041 1.005250 0.001150 0.115

=== Error Statistics ===
Number of successful calculations: 10/10
Mean absolute error: 0.000596
Mean relative error: 0.059%
Median relative error: 0.053%
Max relative error: 0.115%
Min relative error: 0.030%
Standard deviation: 0.029%

======================================================================
GENERATING PLOTS
======================================================================
[OK] Saved: initial_recombination_comparison.png
[OK] Saved: continuous_beam_comparison.png
[OK] Saved: relative_error.png

======================================================================
SAVING RESULTS
======================================================================
[OK] Saved: comparison_initial.csv
[OK] Saved: comparison_continuous.csv
NOTE: Calculations used dose_rate_air_Gy_s (not dose_rate_water_Gy_s)
[OK] Saved: comparison_continuous_clean.csv (essential columns only)

All results saved in: C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\benchmark_results\cython\run_001

======================================================================
TESTING COMPLETED
======================================================================

======================================================================
STDERR:
======================================================================
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_Gy,dose_rate_factor,time_s,dose_rate_water_Gy_s,dose_rate_air_Gy_s,k_s,dose_rate_air_Gy_min,k_s_IonTracks,difference,relative_error_%,absolute_error
150,0.672,1.0,0.004184,4.167,3.665,1.0025,219.9,1.003273481324495,0.0007734813244950622,0.07715524433865958,0.0007734813244950622
150,0.672,0.5,0.008216,2.122,1.866,1.0013,111.96000000000001,1.0017084153349103,0.000408415334910206,0.040788508430061515,0.000408415334910206
150,0.672,0.2,0.020117,0.867,0.762,1.0005,45.72,1.0008025813138797,0.000302581313879724,0.030243009883030886,0.000302581313879724
226,0.673,1.0,0.00277,6.378,5.61,1.0038,336.6,1.004827856049795,0.0010278560497949396,0.10239649828600714,0.0010278560497949396
226,0.673,0.5,0.005401,3.271,2.877,1.0019,172.61999999999998,1.0025507249820989,0.0006507249820988381,0.06494909492951773,0.0006507249820988381
226,0.673,0.2,0.013849,1.276,1.122,1.0008,67.32000000000001,1.001052953774079,0.00025295377407918984,0.02527515728209331,0.00025295377407918984
244,0.676,1.0,0.002562,6.939,6.103,1.0041,366.18,1.005315982423762,0.0012159824237620853,0.12110172530246842,0.0012159824237620853
244,0.676,0.5,0.00525,3.386,2.978,1.002,178.68,1.0026310045971174,0.0006310045971174016,0.06297451069035945,0.0006310045971174016
244,0.676,0.2,0.012956,1.372,1.207,1.0008,72.42,1.0011174398430913,0.00031743984309140494,0.03171860942160321,0.00031743984309140494
70,0.825,1.0,0.022265,0.936,0.823,1.0006,49.379999999999995,1.0010417788071833,0.00044177880718332396,0.04415138988440176,0.00044177880718332396
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_rate_air_Gy_s,k_s,k_s_IonTracks,difference,relative_error_%,absolute_error
150,3.665,1.0025,1.003273481324495,0.0007734813244950622,0.07715524433865958,0.0007734813244950622
150,1.866,1.0013,1.0017084153349103,0.000408415334910206,0.040788508430061515,0.000408415334910206
150,0.762,1.0005,1.0008025813138797,0.000302581313879724,0.030243009883030886,0.000302581313879724
226,5.61,1.0038,1.004827856049795,0.0010278560497949396,0.10239649828600714,0.0010278560497949396
226,2.877,1.0019,1.0025507249820989,0.0006507249820988381,0.06494909492951773,0.0006507249820988381
226,1.122,1.0008,1.001052953774079,0.00025295377407918984,0.02527515728209331,0.00025295377407918984
244,6.103,1.0041,1.005315982423762,0.0012159824237620853,0.12110172530246842,0.0012159824237620853
244,2.978,1.002,1.0026310045971174,0.0006310045971174016,0.06297451069035945,0.0006310045971174016
244,1.207,1.0008,1.0011174398430913,0.00031743984309140494,0.03171860942160321,0.00031743984309140494
70,0.823,1.0006,1.0010417788071833,0.00044177880718332396,0.04415138988440176,0.00044177880718332396
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Energy_MeV,k_s_experimental,k_s_IonTracks,difference,relative_error_%
70,1.0006,1.0003619141760138,-0.00023808582398610056,-0.023794305815120986
150,1.0005,1.0002065945483714,-0.0002934054516285922,-0.02932588222174835
226,1.0008,1.0001579920055679,-0.0006420079944320367,-0.06414947985931622
244,1.0008,1.0001507878033964,-0.0006492121966035214,-0.06486932420099135
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
Command: C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\venv\Scripts\python.exe -u C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\test_experimental_data.py --backend cython --output-dir C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\benchmark_results\cython\run_002
Return code: 0
Elapsed time: 1156.06 seconds

======================================================================
STDOUT:
======================================================================
======================================================================
TESTING EXPERIMENTAL DATA DCPT 2019
======================================================================

Loaded 10 experimental measurements
Energies: [np.int64(70), np.int64(150), np.int64(226), np.int64(244)] MeV
Voltage: 200 V
Electrode gap: 0.2 cm

======================================================================
METHOD 1: INITIAL RECOMBINATION
======================================================================
Calculating for 70 MeV...
Calculating for 150 MeV...
Calculating for 226 MeV...
Calculating for 244 MeV...

Initial Recombination Comparison:
Energy_MeV k_s_experimental k_s_IonTracks difference relative_error_%
70 1.0006 1.000362 -0.000238 -0.023794
150 1.0005 1.000207 -0.000293 -0.029326
226 1.0008 1.000158 -0.000642 -0.064149
244 1.0008 1.000151 -0.000649 -0.064869

======================================================================
METHOD 2: CONTINUOUS BEAM (General Recombination)
======================================================================
WARNING: This may take several minutes...
Progress: 1/10 (10.0%)
Progress: 6/10 (60.0%)

Continuous Beam Comparison:
Energy_MeV dose_rate_air_Gy_s k_s k_s_IonTracks difference relative_error_%
70 0.823 1.0006 1.001042 0.000442 0.044
150 0.762 1.0005 1.000803 0.000303 0.030
150 1.866 1.0013 1.001708 0.000408 0.041
150 3.665 1.0025 1.003273 0.000773 0.077
226 1.122 1.0008 1.001053 0.000253 0.025
226 2.877 1.0019 1.002551 0.000651 0.065
226 5.610 1.0038 1.004828 0.001028 0.102
244 1.207 1.0008 1.001117 0.000317 0.032
244 2.978 1.0020 1.002631 0.000631 0.063
244 6.103 1.0041 1.005316 0.001216 0.121

=== Error Statistics ===
Number of successful calculations: 10/10
Mean absolute error: 0.000602
Mean relative error: 0.060%
Median relative error: 0.054%
Max relative error: 0.121%
Min relative error: 0.025%
Standard deviation: 0.032%

======================================================================
GENERATING PLOTS
======================================================================
[OK] Saved: initial_recombination_comparison.png
[OK] Saved: continuous_beam_comparison.png
[OK] Saved: relative_error.png

======================================================================
SAVING RESULTS
======================================================================
[OK] Saved: comparison_initial.csv
[OK] Saved: comparison_continuous.csv
NOTE: Calculations used dose_rate_air_Gy_s (not dose_rate_water_Gy_s)
[OK] Saved: comparison_continuous_clean.csv (essential columns only)

All results saved in: C:\Users\Jakub Kalinski\Documents\GitHub\IonTracks-Cython\experimental-data\2019_DCPT\benchmark_results\cython\run_002

======================================================================
TESTING COMPLETED
======================================================================

======================================================================
STDERR:
======================================================================
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_Gy,dose_rate_factor,time_s,dose_rate_water_Gy_s,dose_rate_air_Gy_s,k_s,dose_rate_air_Gy_min,k_s_IonTracks,difference,relative_error_%,absolute_error
150,0.672,1.0,0.004184,4.167,3.665,1.0025,219.9,1.0032827658174972,0.0007827658174972552,0.07808137830396561,0.0007827658174972552
150,0.672,0.5,0.008216,2.122,1.866,1.0013,111.96000000000001,1.0018843819991743,0.0005843819991742105,0.05836232888986422,0.0005843819991742105
150,0.672,0.2,0.020117,0.867,0.762,1.0005,45.72,1.0008396088696578,0.0003396088696578925,0.03394391500828511,0.0003396088696578925
226,0.673,1.0,0.00277,6.378,5.61,1.0038,336.6,1.004760559994233,0.0009605599942330567,0.09569236842329713,0.0009605599942330567
226,0.673,0.5,0.005401,3.271,2.877,1.0019,172.61999999999998,1.0025742056272409,0.0006742056272408536,0.06729270658158036,0.0006742056272408536
226,0.673,0.2,0.013849,1.276,1.122,1.0008,67.32000000000001,1.0011862187303433,0.0003862187303433906,0.03859100023415174,0.0003862187303433906
244,0.676,1.0,0.002562,6.939,6.103,1.0041,366.18,1.005240305464198,0.001140305464198077,0.11356493020596325,0.001140305464198077
244,0.676,0.5,0.00525,3.386,2.978,1.002,178.68,1.0026459665754444,0.0006459665754443566,0.0644677221002352,0.0006459665754443566
244,0.676,0.2,0.012956,1.372,1.207,1.0008,72.42,1.001264015080931,0.0004640150809311905,0.046364416559871155,0.0004640150809311905
70,0.825,1.0,0.022265,0.936,0.823,1.0006,49.379999999999995,1.0010139939486804,0.0004139939486804689,0.04137457012597131,0.0004139939486804689
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Energy_MeV,dose_rate_air_Gy_s,k_s,k_s_IonTracks,difference,relative_error_%,absolute_error
150,3.665,1.0025,1.0032827658174972,0.0007827658174972552,0.07808137830396561,0.0007827658174972552
150,1.866,1.0013,1.0018843819991743,0.0005843819991742105,0.05836232888986422,0.0005843819991742105
150,0.762,1.0005,1.0008396088696578,0.0003396088696578925,0.03394391500828511,0.0003396088696578925
226,5.61,1.0038,1.004760559994233,0.0009605599942330567,0.09569236842329713,0.0009605599942330567
226,2.877,1.0019,1.0025742056272409,0.0006742056272408536,0.06729270658158036,0.0006742056272408536
226,1.122,1.0008,1.0011862187303433,0.0003862187303433906,0.03859100023415174,0.0003862187303433906
244,6.103,1.0041,1.005240305464198,0.001140305464198077,0.11356493020596325,0.001140305464198077
244,2.978,1.002,1.0026459665754444,0.0006459665754443566,0.0644677221002352,0.0006459665754443566
244,1.207,1.0008,1.001264015080931,0.0004640150809311905,0.046364416559871155,0.0004640150809311905
70,0.823,1.0006,1.0010139939486804,0.0004139939486804689,0.04137457012597131,0.0004139939486804689
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Energy_MeV,k_s_experimental,k_s_IonTracks,difference,relative_error_%
70,1.0006,1.0003619141760138,-0.00023808582398610056,-0.023794305815120986
150,1.0005,1.0002065945483714,-0.0002934054516285922,-0.02932588222174835
226,1.0008,1.0001579920055679,-0.0006420079944320367,-0.06414947985931622
244,1.0008,1.0001507878033964,-0.0006492121966035214,-0.06486932420099135
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading