Included pitch angle binning in the json file;

minor changes to debug output
This commit is contained in:
2024-10-29 14:55:14 +01:00
parent 5fc227e1b1
commit b1519cb4ca
5 changed files with 48 additions and 5 deletions
+3 -1
View File
@@ -47,8 +47,10 @@ std::shared_ptr<DynamicDensityFieldWithPitchAngle> buildDynamicDensityFieldWithP
EnergyBinning energy_binning =
buildEnergyBinningIncludingRedirection(parameter, path_energy_binning);
// TBD: make a function to build the pitchangle binning
json_path path_pitch_angle_binning =
json_path_append(path_to_field, {"PitchAngleBinning"});
PitchAngleBinning pitch_angle_binning =
PitchAngleBinning(10);
buildPitchAngleBinningIncludingRedirection(parameter, path_pitch_angle_binning);
return std::shared_ptr<DynamicDensityFieldWithPitchAngle>(
new DynamicDensityFieldWithPitchAngle(position_binning, energy_binning,
pitch_angle_binning, timer));