1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2024-11-26 20:28:49 -05:00
Commit Graph

88 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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
Gordon McCann 5b1dbb02f2 Switched default font 2022-02-12 20:32:57 -05:00
Gordon McCann 7d9eb141af Squash MSVC linker warnings on dll import/export. Make some casts explict to avoid compiler warnings. 2022-02-12 19:50:48 -05:00
Gordon McCann e049927049 Removed viewport functionality for now, due to linux issues. Added in basic stats for histogram regions 2022-02-12 16:25:49 -05:00
Gordon McCann 1aa7a41596 Added Clear and ClearAll Buttons and functionality to histograms. 2022-02-05 23:26:33 -05:00
Gordon McCann e8166cdbcd Added intial test classes to NavProject for use with SPS data. After brief testing, obv issue that analysis speed tied to rendering rate. Reverted to multi-threaded case, albeit with layer style 2022-02-05 13:20:45 -05:00
Gordon McCann ec401030e1 Fixed some semantics to reduce warnings from strings in ImGui widgets. HistogramMap now has a nullResult member 2022-02-03 16:18:24 -05:00
Gordon McCann 8c6fce5220 Added Font Awesome icons, as well as icon header library. Editor now has icons for various actions 2022-01-29 20:15:13 -05:00
Gordon McCann 3049ee7025 Fixed some string concat cases in panels and EditorLayer 2022-01-27 21:50:11 -05:00
Gordon McCann 695c647d71 Added port functionality to source events. Minor bug fixes for path display on FileDialog 2022-01-27 17:08:15 -05:00
Gordon McCann 3573bd5de4 Fixed some minor issues with semantics and header locations for asio 2022-01-26 11:45:34 -05:00
Gordon McCann 6219b3006e Cleaned up application class some 2022-01-23 22:32:39 -05:00
Gordon McCann ab374ef4e8 Fixed logic for updating histograms and checking cuts. Implemented small test on single parameter. Validated 2022-01-23 21:32:30 -05:00
Gordon McCann 343424ead7 Added removal dialogs for both spectra and cuts. Lightly tested. 2022-01-23 20:45:31 -05:00
Gordon McCann 37e10eae1f Added in SourceDialog as well as event callback for detach. Should be mostly functional now (except for non-standard ports) 2022-01-23 17:36:21 -05:00
Gordon McCann 9297282221 Hopefully fixed asio submodule 2022-01-23 14:00:40 -05:00
Gordon McCann a2cf3d79d2 Removed bad asio submodule 2022-01-23 13:57:52 -05:00
Gordon McCann de5fc21ccc Added asio submodule for socket and created CompassOnlineSource. Needs testing. Some refinement to come for the source classes I think 2022-01-23 13:48:14 -05:00
Gordon McCann 5177908c02 Added SpectrumSerializer class as well as minor bug fixes to the open/save dialog 2022-01-22 20:05:08 -05:00
Gordon McCann 1f7e1a49ae Updated rendering pipeline so that, eventually, there will be full functionality. Not actively used 2022-01-22 15:45:37 -05:00
Gordon McCann fe775ceb77 Now can add cuts by drawing on a zoomed histogram. SpectrumPanel code will probably need a cleanup, as the render function is now quite busy 2022-01-20 21:32:00 -05:00