Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
d242a54
Clarify event partitioning modes and only check / create window defin…
trisyoungs Mar 12, 2024
bd188b4
Window arguments are now optional.
trisyoungs Mar 12, 2024
2cb203e
Keep all window options together.
trisyoungs Mar 12, 2024
70c5651
Create DumpEvents option.
trisyoungs Mar 12, 2024
eb43209
Rename function, adjust output text.
trisyoungs Mar 12, 2024
8443bdf
Rename event partitioning functions.
trisyoungs Mar 12, 2024
e55e095
Adding --dump-histogram option.
trisyoungs Oct 15, 2024
24481d0
Add missing source file.
trisyoungs Oct 15, 2024
e40ab28
Dump histogram working. Separate array creation and monitor loading.
trisyoungs Oct 15, 2024
629c01e
Rename to dump-detector.
trisyoungs Oct 15, 2024
2333d7d
Add --dump-monitor.
trisyoungs Oct 15, 2024
d4c3dd6
Rename some variables for clarity, and index monitors and detectors f…
trisyoungs Oct 15, 2024
216d170
Another variable rename.
trisyoungs Oct 15, 2024
1352c83
Reorder logic.
trisyoungs Oct 16, 2024
b5b5a4d
Dump events to file rather than stdout.
trisyoungs Oct 16, 2024
c9fb32d
Always load in times. Add loadBasicData() function.
trisyoungs Oct 16, 2024
68ae7a5
Simplify ctor, always load goodframes in basic data.
trisyoungs Oct 16, 2024
f21d366
Use at() to access array, fix output messages.
trisyoungs Oct 16, 2024
51ee8c0
Remove old files.
trisyoungs Oct 16, 2024
9c98d42
Capitalisation.
trisyoungs Oct 16, 2024
91d61ca
Process function capitalisation.
trisyoungs Oct 16, 2024
0e15ef7
Display basic info on files if no processing mode is selected.
trisyoungs Oct 16, 2024
278eaf4
Rename var, load and display run title.
trisyoungs Oct 16, 2024
053e663
Clarify output.
trisyoungs Oct 16, 2024
d2b91fe
Clarify header.
trisyoungs Oct 17, 2024
6e5be14
Add print events.
trisyoungs Oct 17, 2024
566c646
Clarify start time input arguments.
trisyoungs Oct 21, 2024
29da49e
Proper handling of data copying and file templating.
trisyoungs Oct 21, 2024
8efa216
Adjust output verbosity.
trisyoungs Oct 21, 2024
78ecddb
Don't forget to load monitor counts when preparing slices.
trisyoungs Oct 21, 2024
5e7bdd5
Willingly break system packages on the Mac.
trisyoungs Oct 21, 2024
303c4db
Don't hardcode gsl path.
trisyoungs Oct 21, 2024
a065882
No need for a Fortran compiler.
trisyoungs Oct 21, 2024
7dad384
Add GSL include dirs to search path.
trisyoungs Oct 21, 2024
d4a648d
Const?
trisyoungs Oct 21, 2024
b3e3243
Update nix flake.
trisyoungs Jul 31, 2025
9741f0a
Fix loop.
trisyoungs Jul 31, 2025
cce4cfe
Add simple count processors.
trisyoungs Jul 31, 2025
9432195
Store monitors numbered from 1.
trisyoungs Jul 31, 2025
f9bad1c
Update clang-tools in flake.nix.
trisyoungs Jul 31, 2025
6652ea0
Save to local filenames, not whole path.
trisyoungs Jul 31, 2025
b3a652d
Format.
trisyoungs Jul 31, 2025
9a4bd11
Fix integer overflows.
trisyoungs Aug 6, 2025
6ec25bb
Long long for indexing events.
trisyoungs Aug 29, 2025
8a86503
Output events with local time.
trisyoungs Aug 29, 2025
90c8855
Fix libs.
trisyoungs Aug 29, 2025
8561e48
Working up ResizeDetectors processor.
trisyoungs Sep 17, 2025
841ad9c
Just manipulate goodframes.
trisyoungs Sep 17, 2025
7bfdcd5
Piss around with datatypes.
trisyoungs Sep 17, 2025
4394bd4
Use custom histogram.
trisyoungs Sep 17, 2025
7ad9bbb
Remove unnecessary detectorCounts_.
trisyoungs Sep 17, 2025
f7c877b
Commenting, variable type.
trisyoungs Sep 18, 2025
1a2c2d8
Commenting.
trisyoungs Sep 19, 2025
bfce231
Last bits.
trisyoungs Sep 19, 2025
dcbda71
Add control over verbose output.
trisyoungs Sep 19, 2025
ec0a70f
Start adding EventParser.
trisyoungs Sep 19, 2025
edb423a
More work on (renamed) EventChunker.
trisyoungs Sep 19, 2025
0b40083
Try to get event chunking working.
trisyoungs Sep 22, 2025
8297ba9
All working, needs testing.
trisyoungs Sep 22, 2025
c9a677f
Tidy up.
trisyoungs Sep 22, 2025
9618607
Add DumpDetectorFromEvents for testing.
trisyoungs Sep 22, 2025
4fb2c56
Data types.
trisyoungs Sep 22, 2025
f761807
More datatypes.
trisyoungs Sep 22, 2025
8fac4b2
Remove old event loading code, convert partitioning routines.
trisyoungs Sep 22, 2025
0c6a529
Fix types.
trisyoungs Sep 22, 2025
26c0408
Proper type again.
trisyoungs Sep 22, 2025
562ef7c
Reorganise output to make sense.
trisyoungs Sep 22, 2025
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
5 changes: 2 additions & 3 deletions .github/workflows/build/osx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
- name: Install Python Dependencies
shell: bash
run: |
pip3 install --user conan==1.*
pip3 install --user conan==1.* --break-system-packages

- name: Download HDF5 Artifacts
shell: bash
Expand All @@ -29,11 +29,10 @@ runs:
set -ex
export PATH="$(python3 -m site --user-base)/bin:$PATH"
HDF5_DIR="$(pwd)/${{ env.hdf5tag }}"
GSL_DIR="/usr/local/Cellar/gsl/2.7.1"
mkdir build && cd build

conan install ../
cmake ../ -G Ninja -DCMAKE_Fortran_COMPILER:string="gfortran-11" -DLOCAL_STATIC_HDF5:bool=true -DHDF5_DIR:path=${HDF5_DIR} -DLOCAL_STATIC_GSL:bool=true -DGSL_DIR:path=${GSL_DIR}
cmake ../ -G Ninja -DLOCAL_STATIC_HDF5:bool=true -DHDF5_DIR:path=${HDF5_DIR}
ninja

- name: Create Zip
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if(LOCAL_STATIC_GSL)
else(LOCAL_STATIC_GSL)
find_package(GSL REQUIRED)
list(APPEND LINK_LIBS "${GSL_LIBRARIES}")
include_directories("${GSL_INCLUDE_DIRS}")
endif(LOCAL_STATIC_GSL)

option(
Expand Down Expand Up @@ -140,8 +141,7 @@ if(BUILD_HDF)
endif(BUILD_SZIP)
else(BUILD_HDF)
if(LOCAL_STATIC_HDF5)
list(APPEND LINK_LIBS "${HDF5_DIR}/lib/libhdf5_cpp.a"
"${HDF5_DIR}/lib/libhdf5.a"
list(APPEND LINK_LIBS "${HDF5_DIR}/lib/libhdf5.a"
"${HDF5_DIR}/lib/libszip-static.a")
if(WIN32)
list(APPEND LINK_LIBS "${HDF5_DIR}/lib/libzlibstatic.a")
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
future.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
outdated.url = "github:NixOS/nixpkgs/nixos-21.05";
future.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs, future, outdated, flake-utils, bundlers }:
Expand Down Expand Up @@ -34,13 +34,11 @@
name = "np-shell";
buildInputs = base_libs pkgs
++ (with pkgs; [
(pkgs.clang-tools.override {
llvmPackages = pkgs.llvmPackages_13;
})
ccache
ccls
cmake-format
cmake-language-server
clang-tools
distcc
gdb
valgrind
Expand Down
Loading
Loading