icecube.dataclasses – python bindings to dataclasses

class icecube.dataclasses.I3Double

Wrapper of the simple C++ class which holds a double called “value”

I3Double()

Create an I3Double with value initialized to 0.0

I3Double(v)

Create an I3Double with value initialized to v

value

The ‘double’ that it holds

Example:

>>> d = dataclasses.I3Double()
>>> d.value
0.0
>>> d = dataclasses.I3Double(7)
>>> d
<icecube.dataclasses.I3Double object at 0x2c9e940>
>>> d.value
7.0