Commit Graph

93 Commits

Author SHA1 Message Date
a1a18c6a35 update tests and plotting 2026-03-20 09:26:10 +01:00
b1d781714b update fluence and simulation to work with detectors and correct count rates 2026-03-20 09:25:09 +01:00
a133b8b1c7 update landscape to work with new detector 2026-03-20 09:23:02 +01:00
890570e148 simplify detector object. Add efficiency libraries and lookup interpolators 2026-03-20 09:21:40 +01:00
1e81570cf4 clean up imports and remove hard-coded __init__ refs 2026-03-12 14:34:40 +01:00
1dc553d2e2 update isotope lookup to tabular format. Add primary gamma energy to results plotting 2026-03-12 14:32:21 +01:00
09e74051f0 improve naming of integrated count calculation function 2026-03-11 09:51:11 +01:00
7dec54fa1c update plotter to add direction of travel arrow and detector info 2026-03-10 20:45:35 +01:00
938b3a7afc update exceptions and main.py (including test case) 2026-03-10 20:44:45 +01:00
b82196e431 Add flip direction. Change mean to Trapezoidal rule for integration along path. Scale count rate properly with acquisition time 2026-03-10 20:44:18 +01:00
b882f20358 add basic colouring 2026-03-03 21:42:19 +01:00
cdd6d3a8b4 improve logging. update test case for detector. 2026-03-03 21:03:26 +01:00
1c8cc41e3c Improve error handling. Add alignment feature for point sources 2026-03-03 21:01:51 +01:00
7612f74bcb rename eff to efficiency 2026-03-03 20:59:15 +01:00
b69b7455f1 fix isotope typo 2026-03-03 20:58:34 +01:00
c98000dfd8 Add detector architecture + isotropic detectors 2026-03-03 09:48:20 +01:00
41a8ca95b3 remove print statement 2026-03-03 09:32:45 +01:00
bb781ed082 let segmented road generator take specific angles and lengths for segments 2026-03-02 13:00:14 +01:00
8e429fe636 fix interpolator to properly interpolate in 2D space 2026-03-02 12:58:12 +01:00
176baa543a flake8 + fix bug in seed type checking 2026-03-02 08:51:02 +01:00
dba1240e9f improve error handling and PEP8 2026-03-02 08:38:18 +01:00
9a169da520 update tests to follow new architecture 2026-02-25 15:05:22 +01:00
5c9841190f update main.py --test case to conform to new architecture. Update error handling in --config case. 2026-02-25 14:37:35 +01:00
561fb1dca1 update SegmentedRoadGenerator 2026-02-25 14:31:42 +01:00
39572da682 improve landscape architecture. builder is separate file. cleaned up hardcoded defaults 2026-02-25 14:26:49 +01:00
a74ea765d7 move ConfigParser to inputparser module and introduce config specs classes for structured config handling 2026-02-25 14:25:32 +01:00
58de830a39 add default values to central location 2026-02-25 14:22:46 +01:00
ae0a038948 add SimulationEngine and SimulationOutputs to compute results and pass standardized objects on to plotter 2026-02-25 14:21:59 +01:00
9944c06466 update plotting 2026-02-25 14:21:03 +01:00
5615914c7e update projection utlity functions 2026-02-25 14:20:11 +01:00
e926338b69 add InvalidIsotopeError and DimensionError 2026-02-25 14:17:14 +01:00
bab41c128b vectorize fluence calculation 2026-02-25 14:13:27 +01:00
3a92f79a43 fix dataloader exception handling 2026-02-20 12:01:12 +01:00
61dc05073a improve plotting visuals for path 2026-02-20 11:47:57 +01:00
cca514a2ba add MissingSubKeyError for config loading. update main.py for --config flag 2026-02-20 11:47:38 +01:00
265d3b0111 Add isotope lookup dictionary, so isotopes can be loaded from string in config. 2026-02-20 11:46:45 +01:00
8f652875dc update LandscapeDirector to be able to build from config. 2026-02-20 11:45:21 +01:00
5fc806bd39 Add function to go from relative source position to absolute position. 2026-02-20 11:43:13 +01:00
d53f7c5e2f Move fluence calcs to physics from landscape. Update LandScapeBuilder to accommodate config and segments 2026-02-20 11:40:36 +01:00
fdc11b4076 Add landscape config parser 2026-02-20 11:39:20 +01:00
c2b05c63a8 change intra-package import statements to have absolute path. this to avoid circular importing. the imports specified in __init__ of each module are only intended to be used outside of src (e.g. tests, API usage). 2026-02-17 10:11:03 +01:00
5684525d0f add plotting to test case. Add saveplot argument. Improve logging in LandscapeSlicePlotter 2026-02-17 09:46:30 +01:00
3fd2eafb2a add save and show options to Plotter 2026-02-17 09:41:54 +01:00
beb411d456 update tests to reflect new Landscape design 2026-02-13 16:07:42 +01:00
0db1fe0626 manually remove detector imports (not implemented yet) 2026-02-13 16:01:07 +01:00
ac8c38592d Add CLI entry point with --test flag for building test landscape using LandscapeDirector 2026-02-13 14:58:11 +01:00
a4fb4a7c57 Add LandscapeDirector with a test case to build landscape using LandscapeBuilder 2026-02-13 14:57:37 +01:00
e8bf687563 add default box height to ensure non-zero z dimension in the landscape 2026-02-13 14:56:27 +01:00
49a0dcd301 Improve isotopes and sources 2026-02-13 14:55:42 +01:00
26f96b06fe code file paths/names in config folder for more centralized definition of filenames 2026-02-13 14:50:02 +01:00