Skip to content

Unifying 2D and 3D data types for SparseTensor3D and ClusterVoxel3D #26

@drinkingkazu

Description

@drinkingkazu

In particular would love to hear from @twongjirad @coreyjadams ...but anyone's input is welcome.

I would like to suggest somewhat a drastic change, and that is to remove a distinction of 2D and 3D data types for tensors and clusters.

Namely they are all either VoxelSet or VoxelSetArray with ImageMeta or Voxel3DMeta.
But because they are different types, we have to write modules/algorithms for each type despite the fact that operation is typically on the basic common types.
Unifying these types will allow writing generic algorithms much easier where we don't care about the dimensions.
Why we have 2D vs. 3D to begin with? This is somewhat historical that we used to have 2D clusters in an old larcv.
In principle there's nothing needed to keep 2D and 3D, and I think it only gave us headache so far (sorry)...

So I would like to propose making this change including modification of corresponding codes under larcv/app directory, and I am happy to volunteer.
I think it's 1~2 day job for me, and I might do it during MicroBooNE analysis retreat next week Monday/Tuesday (June 23rd/24th).
Let me know what you think.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions