namespace test-p1d

test-p1d

Attributes

Name
p1
linspace
p2
logspace
p3
intNUM_SAMPLES
val
aos
s
s2
s1
sd
su
Check the inclusion of underflow and overflow bins.
so
suo

Attributes Documentation

variable p1

p1 =  yoda.Profile1D(20, 0.0, 100.0, path="/foo", title="MyTitle");

variable linspace

linspace =  yoda.linspace(20, 0.0, 100.0);

variable p2

p2 =  yoda.Profile1D(linspace, path="/bar", title="Linearly spaced histo");

variable logspace

logspace =  yoda.logspace(20, 1.0, 64);

variable p3

p3 =  yoda.Profile1D(logspace, path="/baz", title="Log-spaced histo");

variable NUM_SAMPLES

int NUM_SAMPLES =  1000;

variable val

val =  random.uniform(0,100);

variable aos

aos =  yoda.read("p1d.yoda");

variable s

s =  yoda.mkScatter(p1);

variable s2

s2 =  s.mkScatter();

variable s1

s1 =  yoda.mkScatter(p1);

variable sd

sd;

variable su

su =  yoda.mkScatter(p1, uflow_binwidth=1.0);

Check the inclusion of underflow and overflow bins.

variable so

so =  yoda.mkScatter(p1, oflow_binwidth=1.0);

variable suo

suo =  yoda.mkScatter(p1, uflow_binwidth=1.0, oflow_binwidth=1.0);

Updated on 2022-08-08 at 20:05:55 +0100