Vector Objects in Python

For ease of translation between C++ and Python layers, a number of larcv objects have std::vector implementations wrapped around them and exposed to python:

class larcv.VectorOfEventID

Wrapper around std::vector<EventID>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfEventID) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfEventID) None

Pop back the vector.

class larcv.VectorOfImageMeta1D

Wrapper around std::vector<ImageMeta1D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfImageMeta1D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfImageMeta1D) None

Pop back the vector.

class larcv.VectorOfImageMeta2D

Wrapper around std::vector<ImageMeta2D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfImageMeta2D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfImageMeta2D) None

Pop back the vector.

class larcv.VectorOfImageMeta3D

Wrapper around std::vector<ImageMeta3D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfImageMeta3D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfImageMeta3D) None

Pop back the vector.

class larcv.VectorOfImageMeta4D

Wrapper around std::vector<ImageMeta4D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfImageMeta4D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfImageMeta4D) None

Pop back the vector.

class larcv.VectorOfSparseTensor2D

Wrapper around std::vector<SparseTensor2D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfSparseTensor2D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfSparseTensor2D) None

Pop back the vector.

class larcv.VectorOfSparseTensor3D

Wrapper around std::vector<SparseTensor3D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfSparseTensor3D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfSparseTensor3D) None

Pop back the vector.

class larcv.VectorOfSparseCluster2D
append(self: larcv.pylarcv.VectorOfSparseCluster2D, x: larcv.pylarcv.SparseCluster2D) None

Add an item to the end of the list

clear(self: larcv.pylarcv.VectorOfSparseCluster2D) None

Clear the contents

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: larcv.pylarcv.VectorOfSparseCluster2D, L: larcv.pylarcv.VectorOfSparseCluster2D) -> None

Extend the list by appending all the items in the given list

  1. extend(self: larcv.pylarcv.VectorOfSparseCluster2D, L: Iterable) -> None

Extend the list by appending all the items in the given list

insert(self: larcv.pylarcv.VectorOfSparseCluster2D, i: int, x: larcv.pylarcv.SparseCluster2D) None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: larcv.pylarcv.VectorOfSparseCluster2D) -> larcv.pylarcv.SparseCluster2D

Remove and return the last item

  1. pop(self: larcv.pylarcv.VectorOfSparseCluster2D, i: int) -> larcv.pylarcv.SparseCluster2D

Remove and return the item at index i

class larcv.VectorOfSparseCluster3D
append(self: larcv.pylarcv.VectorOfSparseCluster3D, x: larcv.pylarcv.SparseCluster3D) None

Add an item to the end of the list

clear(self: larcv.pylarcv.VectorOfSparseCluster3D) None

Clear the contents

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: larcv.pylarcv.VectorOfSparseCluster3D, L: larcv.pylarcv.VectorOfSparseCluster3D) -> None

Extend the list by appending all the items in the given list

  1. extend(self: larcv.pylarcv.VectorOfSparseCluster3D, L: Iterable) -> None

Extend the list by appending all the items in the given list

insert(self: larcv.pylarcv.VectorOfSparseCluster3D, i: int, x: larcv.pylarcv.SparseCluster3D) None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: larcv.pylarcv.VectorOfSparseCluster3D) -> larcv.pylarcv.SparseCluster3D

Remove and return the last item

  1. pop(self: larcv.pylarcv.VectorOfSparseCluster3D, i: int) -> larcv.pylarcv.SparseCluster3D

Remove and return the item at index i

class larcv.VectorOfBBox2D

Wrapper around std::vector<BBox2D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfBBox2D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfBBox2D) None

Pop back the vector.

class larcv.VectorOfBBox3D

Wrapper around std::vector<BBox3D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfBBox3D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfBBox3D) None

Pop back the vector.

class larcv.VectorOfTensor1D

Wrapper around std::vector<Tensor1D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfTensor1D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfTensor1D) None

Pop back the vector.

class larcv.VectorOfTensor2D

Wrapper around std::vector<Tensor2D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfTensor2D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfTensor2D) None

Pop back the vector.

class larcv.VectorOfTensor3D

Wrapper around std::vector<Tensor3D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfTensor3D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfTensor3D) None

Pop back the vector.

class larcv.VectorOfTensor4D

Wrapper around std::vector<Tensor4D>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfTensor4D) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfTensor4D) None

Pop back the vector.

class larcv.VectorOfParticle

Wrapper around std::vector<Particle>. Please see the C++ std::vector documentation for more details.

clear(self: larcv.pylarcv.VectorOfParticle) None

Clear the vector.

pop_back(self: larcv.pylarcv.VectorOfParticle) None

Pop back the vector.