Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 21, 2025
1 parent 065616d commit 2825e53
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
8 changes: 3 additions & 5 deletions examples/6_Public_Config.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@
"metadata": {},
"outputs": [],
"source": [
"st = fuse.context.public_config_context(\n",
" output_folder=\"./fuse_data\"\n",
")\n",
"st = fuse.context.public_config_context(output_folder=\"./fuse_data\")\n",
"\n",
"st.set_config(\n",
" {\n",
Expand Down Expand Up @@ -167,9 +165,9 @@
"single_rr = rr[0]\n",
"\n",
"\n",
"x = np.arange(110) * single_rr['dt']\n",
"x = np.arange(110) * single_rr[\"dt\"]\n",
"\n",
"plt.plot(x, single_rr['data'], color = 'black', label = \"Records Data\")\n",
"plt.plot(x, single_rr[\"data\"], color=\"black\", label=\"Records Data\")\n",
"plt.xlabel(\"Time (ns)\")\n",
"plt.ylabel(\"ADC\")\n",
"plt.legend()\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ This directory contains a public configuration for fuse. It ca be use to run fus
| `XENONnT_public_config.json` | Public XENONnT simulation configuration | Settings for all plugins |
| `Poisson_noise.json` | Randomly sampled noise | Waveform building |
| `Averaged_spe_distributions.json` | XENONnT SPE distributions averaged over all channels. | Waveform Building |
| `fake_to_pe.npy` | Constant dummy gain values | multiple places |
| `fake_to_pe.npy` | Constant dummy gain values | multiple places |
10 changes: 5 additions & 5 deletions examples/files/XENONnT_public_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"enable_pmt_afterpulses": false, # Enables PMT afterpulses, sampled from the 'photon_ap_cdfs' config
"enable_delayed_electrons": false, # Enables photoionization, sampled from the 'delaytime_pmf_hist' config
"enable_noise": false, # Enables electronic noise, sampled from the 'noise_file' config
"field_distortion_model": "none",
"field_distortion_model": "none",
"enable_survival_probability_map": false, # If true, comsol-driven map removes electrons which follow field lines ending in the walls
"enable_drift_velocity_map": false, # If true, comsol-driven map overrides 'drift_velocity_liquid' (or xedocs) to set avg integrated drift velocity for given position
"norm_drift_velocity": false, # If true, will normalize drift velocity map to match cathode-gate drift time for R=0 to 'drift_velocity_liquid'
Expand Down Expand Up @@ -49,11 +49,11 @@
"drift_velocity_liquid": 0.0001335, # cm/ns

// Yields
"xenon_density_tpc": 2.81,
"xenon_density_tpc": 2.81,

"nest_width_parameters": {},

"nest_er_yields_parameters":
"nest_er_yields_parameters":
[-1.0,
-1.0,
-1.0,
Expand Down Expand Up @@ -89,7 +89,7 @@
"s2_mean_area_fraction_top": 0.63, # Mean AFT
"s2_aft_sigma": 0.0, # Additional smearing to the AFT from maps using skewed gaussian
"s2_aft_skewness": 0.0, # See above
"s2_secondary_sc_gain": 21.3, # PE/e-;
"s2_secondary_sc_gain": 21.3, # PE/e-;
"g2_mean": 16.85, # PE/e-

// Delayed electrons
Expand Down Expand Up @@ -542,4 +542,4 @@
"digitizer_voltage_range": 2.25,
"special_thresholds": {},
"zle_threshold": 15
}
}

0 comments on commit 2825e53

Please sign in to comment.