This PR includes templating Image2D and EventImage2D.
We now have:
Image2D -> Tensor
EventImage2D -> EventTensor
Available Tensors (as well as EventTensors) are: Tensor1D, Tensor3D and Tensor4D. For the 2D case we still have Image2D for compatibility.
Tests for all tensor dimensions have also been added in test_write_image2d.py.
The ability to write a Tensor1D has also been added to larcv_writer.py.
This PR includes templating Image2D and EventImage2D. We now have: Image2D -> Tensor
EventImage2D -> EventTensor
Available Tensors (as well as EventTensors) are: Tensor1D, Tensor3D and Tensor4D. For the 2D case we still have Image2D for compatibility.
Tests for all tensor dimensions have also been added in
test_write_image2d.py
.The ability to write a Tensor1D has also been added to
larcv_writer.py
.