-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
718b5af
commit d3fac0a
Showing
3 changed files
with
49 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,12 @@ | |
# - Keep all pdf functions normalized in the steering yml (norm: True), | ||
# otherwise fit stability problems and uncertainty estimation is not consistent. | ||
# | ||
# - Use 'chi2' loss if using weighted event histograms (either MC or data) | ||
# Use 'nll' for unweighted Poisson count histograms (both MC and data) | ||
# - Use 'chi2' or 'huber' loss if using weighted event histograms (either MC or data) | ||
# Use 'nll' for unweighted Poisson count histograms | ||
# and a weighted count histograms via a scale transform (experimental) | ||
# | ||
# - For different fit types see: /docs/pdf/peakfit.pdf | ||
# | ||
# | ||
# Run with: python icefit/peakfit.py --analyze --group (--test_mode) | ||
# | ||
|
@@ -34,7 +38,7 @@ | |
|
||
import ray | ||
|
||
__VERSION__ = 0.02 | ||
__VERSION__ = 0.03 | ||
__AUTHOR__ = '[email protected]' | ||
|
||
# ======================================================================== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
# | ||
# Test peakfit | ||
|
||
git clone https://github.com/mieskolainen/actions-stash.git | ||
|
||
for L in chi2 huber nll; do | ||
for T in single dual dual-unitary-I dual-unitary-II; do | ||
python icefit/peakfit.py --num_cpus 1 --test_mode --analyze --group --loss_type "$L" --fit_type "$T" --output_name "test_${L}_${T}" > "peakfit_${L}_${T}.log" | ||
done | ||
done |