Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10881198
sum_chisq
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
280 B
Subscribers
None
sum_chisq
View Options
#! /bin/bash
# this is very hard-coded to the exact format of CHISQ.log
grep
'^Chi Square'
$1
|
grep -v
' nan '
|
\
sed
's!^.* = \(.*\) for \(.*\) degrees .*$!\1 \2!'
|
\
awk
' { chisqsum+=$1; dofsum+=$2}
END { chiperdof=chisqsum/dofsum; printf("YVALUE = %g\n", chiperdof) } '
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, May 3, 6:00 AM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4982904
Default Alt Text
sum_chisq (280 B)
Attached To
rHERWIGHG herwighg
Event Timeline
Log In to Comment