- ran
daq-boot
on daq0 - run 254
eda(50,3,2)
- run 255
eda(50,3,2)
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
// code for https://root-forum.cern.ch/t/makecsvdataframe-to-convert-from-csv-to-root-file/49692 | |
package main | |
import ( | |
"bufio" | |
"encoding/csv" | |
"errors" | |
"flag" | |
"fmt" | |
"io" |
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 is auto-generated by makecpool. | |
* web2c/makecpool xetex | |
*/ | |
#define EXTERN extern | |
#include "xetexd.h" | |
#include <stdio.h> | |
#include <string.h> |
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
import numpy as np | |
import pyarrow as pa | |
schema = pa.schema([ | |
pa.field("bools", "bool", True), | |
pa.field("int8s", "i1", True), | |
pa.field("int16s", "i2", True), | |
pa.field("int32s", "i4", True), | |
pa.field("int64s", "i8", True), | |
pa.field("uint8s", "u1", True), |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"math" | |
"os" | |
"strconv" | |
) |
here is a re-run of JustForFunc-38 but using gonum/optimize.Minimize to find the best set of parameters fitting the dataset.
The linearRegression
function is replaced with:
func minimize(xys plotter.XYs) (m, c float64) {
xs := make([]float64, len(xys))
ys := make([]float64, len(xys))
$> ssh lxplus-cloud.cern.ch
$> source ~recast/public/setup.sh
(venv) $> recast catalogue ls
Traceback (most recent call last):
File "/afs/cern.ch/user/r/recast/public/yadage/venv/bin/recast", line 11, in <module>
load_entry_point('recast-atlas', 'console_scripts', 'recast')()
File "/afs/cern.ch/user/r/recast/public/yadage/venv/lib/python3.6/site-packages/click/core.py", line 722, in __call__
- write a benchmark for reading ROOT files (with the
Scanner
types) - input file generated with the attached C++ program
/data/f64s-scalar.root
onclrmastergo
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
package main | |
import ( | |
"fmt" | |
"log" | |
) | |
func main() { | |
log.SetFlags(0) | |
log.SetPrefix("") |
NewerOlder