1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2024-11-26 12:18:51 -05:00
Commit Graph

167 Commits

Author SHA1 Message Date
Gordon McCann 05c6610aa7 update imgui 2022-06-06 20:04:08 -04:00
Gordon McCann 94dc2e56ac Update spdlog 2022-06-06 19:54:21 -04:00
Gordon McCann 13a897777e Update glm 2022-06-06 19:53:58 -04:00
Gordon McCann 97f4ad635a Update glfw 2022-06-06 19:53:03 -04:00
Gordon McCann 4e2e8f6c44 Update IconFont 2022-06-06 19:52:29 -04:00
Gordon McCann 7798d651c4 Update asio 2022-06-06 19:51:33 -04:00
Gordon McCann e64a3ce7e6 Some fixes from recent live testing (expanding default window, better examples of sorting at analysis). Updating CompassOnlineSource and CompassFile and CompassRun in advent of CAEN changes to CoMPASS binary data format. Data size and type now controlled by header (or lack there of). 2022-05-22 20:47:32 -04:00
Gordon McCann 40eb727b7d Actually implemented cathode 2022-05-11 22:34:59 -04:00
Gordon McCann 5b39589c17 Attempted fix to handling the online CoMPASS data. No changes to CompassOnlineSource really, instead make event builder handle this. Now buffer up 100 hits, and then can optionally sort the hits. Hits glomed into events, and then passed to analysis chain. 2022-05-11 22:34:14 -04:00
Gordon McCann 224f6089e8 Commented Instrumentor.h 2022-05-08 15:55:49 -04:00
Gordon McCann d789a5d6d5 Added in instrumentation classes for generating json files. Will allow for more complete profiling (at least as a start). 2022-05-08 15:51:17 -04:00
Gordon McCann 6cb8536c3c Add in some SABRE stuff. Def need to be running in release mode once using all of this. Performance dip significant with so many parameters 2022-05-05 20:36:32 -04:00
Gordon McCann 9093f8a53b Fix a couple small system inconsistencies: properly flag server shutdown, replace lock_guard with scoped_lock, etc. 2022-05-05 20:35:19 -04:00
Gordon McCann ec8feae4c7 Re-unlock multi-viewport. Screen saver stops Linux issues, as does updating to Ubuntu 22.04 2022-05-05 19:47:54 -04:00
Gordon McCann 51d6782755 Added new cut types, CutSummaryAll and CutSummaryAny for use with HistogramSummary. Tested for creation, drawing, and serialization. Needs testing for cut functionality. 2022-05-01 20:38:26 -04:00
Gordon McCann ac074f99c4 Renamed HistogramParams, CutParameters to HistogramArgs, CutArgs to avoid confusion with the Parameter concept 2022-05-01 17:03:53 -04:00
Gordon McCann c325e29b73 Fixed janky summary spectrum dialog. Now better displays params and allows for multiple selections at once 2022-04-26 21:02:14 -04:00
Gordon McCann deea375007 Merge branch 'main' of https://github.com/gwm17/Navigator 2022-04-17 17:08:18 -04:00
Gordon McCann 1a1b2c90c9 Add TCPClient class (to make new types of sources easier) and update CompassOnlineSource to reflect. Added handling of fragmented data, but not perfect solution, see comments in CompassOnlineSource 2022-04-17 17:08:06 -04:00
Gordon McCann 099a4ebe67 Fixed README typo on Linux apt commmand 2022-04-11 17:31:47 -04:00
Gordon McCann 8ea527c69f Added in a test server for debugging online connections. Fixed numerous errors in CompassOnlineSource and PhysicsEventBuilder. Now passes simple test, should be ready for full connection to CoMPASS. Also added Timer for profiling (eventually). 2022-04-11 09:41:24 -04:00
Gordon McCann bed9b0fc1e Fixed janky FileDialog, now has properly implemented state control. 2022-04-02 21:45:12 -04:00
Gordon McCann e27d29e919 Created Core subdirectory in src and made relevant changes to includes 2022-03-31 15:43:49 -04:00
Gordon McCann b46df04c00 Several big changes. Biggest change: Added in Summary spectra!! Fully integrated into system. Changed spectrum and cut type identification to avoid extra string comps. Cut checking now handled differently, hopefully more efficiently (needs profiling). Renamed Resources to Assets to avoid Xcode weirdness 2022-03-31 15:23:45 -04:00
Gordon McCann a27ebfe6e0 Fixed some Linux related premake linking commands (add pthread, define glad macro for implot backend) 2022-03-29 17:19:23 -04:00
Gordon McCann 6837418ffa Added some much needed functionality to parameters. Can now bind with a default histogram, set parameters after default construction 2022-03-18 09:22:29 -04:00
Gordon McCann 34b448f850 Added descriptive comments to rest of code 2022-03-17 17:34:59 -04:00
Gordon McCann 887f025b3b Finished fleshing out user UI example. Also, added NavVariables (calc constants). 2022-03-09 22:44:45 -05:00
Gordon McCann e930448180 Structure overhaul. Revert to static linking, otherwise ImGui becomes really messy when making a new panel in the NavProject. Add a new example add-on panel for SPS, mass table. 2022-03-08 22:44:13 -05:00
Gordon McCann 2c4af3a0e0 Finished adding in initial comments 2022-03-06 15:17:54 -05:00
Gordon McCann 060183e26f Started commenting code properly. Core done. 2022-02-27 22:20:38 -05:00
Gordon McCann b805cf9292 Fixed a small bug in the RemoveSpectrum line. Added exporting for histograms to .csv files. 2022-02-26 23:38:54 -05:00
Gordon McCann dca824dc2e Merge branch 'main' of https://github.com/gwm17/Navigator 2022-02-24 18:20:42 -05:00
Gordon McCann eb19c8a603 Also remove all OpenGL specific custom rendering stuff. 2022-02-24 18:20:29 -05:00
Gordon McCann f48a0207a8 Removed unused rendering code. Thanks to the awesome power of ImPlot and ImGui, it will likely never need a full custom render pipeline for any practical reason 2022-02-24 18:19:32 -05:00
Gordon McCann 3d047eb7e8
Remove non-generic bat file 2022-02-23 22:33:35 -05:00
Gordon McCann d1f58464b4 Add README 2022-02-23 22:29:00 -05:00
Gordon McCann d93ba5b97e Fixed serialization such that all existing spectra and cuts are wiped out before loading new file. Removed a few logs that are no longer relevant 2022-02-23 20:54:53 -05:00
Gordon McCann d103d53384 Updated premake file to account for implot changes 2022-02-22 21:08:57 -05:00
Gordon McCann 6871100b0c Fixed implot submodule 2022-02-22 21:01:24 -05:00
Gordon McCann 0fd0e20101 Broke implot submodule again, need to redo 2022-02-22 20:57:22 -05:00
Gordon McCann 3cf0f160df Switched to implot backends for heatmap improvement 2022-02-22 20:49:54 -05:00
Gordon McCann e27d537788 Added colorbar and adjustable color scale to zoomed in 2D histograms 2022-02-22 20:11:08 -05:00
Gordon McCann 41dedeef25 Hotfix: accidentally removed check on whether parameter value was in bounds for a histogram, replaced the check for both 1d and 2d 2022-02-21 21:14:35 -05:00
Gordon McCann 5f716b74e6 Major overall of internal resource management. Unify maps of histos, cuts, and params to one single static SpectrumManager. Change a bunch of stuff to reflect this 2022-02-20 22:19:33 -05:00
Gordon McCann d1412560ff Minor cleanup of leftover prints 2022-02-19 15:00:44 -05:00
Gordon McCann d1636839db Fixed small bug in the CompassRun class where uninitialized m_startIndex would max 2022-02-19 14:13:10 -05:00
Gordon McCann 3520db208e Update NavProject to reflect changes 2022-02-19 11:33:21 -05:00
Gordon McCann 6dd5f7f1c6 Major overhaul of the Physics side. Isolate CAEN classes, create NavData. Re-name HitSort to PhysicsEventBuilder. 2022-02-19 11:30:46 -05:00
Gordon McCann e9700170e7 Small bugfix to the centering of text in the integral region 2022-02-15 21:18:03 -05:00