src/graphnet/models/coarsening.py
def _perform_clustering(self, data: Data) -> LongTensor:
        """Perform clustering of nodes in `data` by assigning unique cluster indices to each."""
        # dom_index = group_pulses_to_dom(data)
        dom_index = group_by(
            data, ["dom_x", "dom_y", "dom_z", "rde", "pmt_area"]
        )
        return dom_index
Perform clustering of nodes in `data` by assigning unique cluster indices to each.
Perform clustering of nodes in `data` by assigning unique cluster indices to each.
Perform clustering of nodes in ` data ` by assigning unique cluster indices to each .
def _perform_clustering(self, data: Data) -> LongTensor:
        dom_index = group_by(
            data, ["dom_x", "dom_y", "dom_z", "rde", "pmt_area"]
        )
        return dom_index
def _perform_clustering ( self , data : Data ) -> LongTensor : dom_index = group_by ( data , [ "dom_x" , "dom_y" , "dom_z" , "rde" , "pmt_area" ] ) return dom_index
Perform clustering of nodes in `data` by assigning unique cluster indices to each.
Perform clustering of nodes in ` data ` by assigning unique cluster indices to each .
"""Perform clustering of nodes in `data` by assigning unique cluster indices to each.""" # dom_index = group_pulses_to_dom(data)
self
data
Data