Skip to content

Commit

Permalink
Fix alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Feb 22, 2024
1 parent 4883c5f commit 2c8260e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions invisible_cities/reco/paolina_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,10 @@ def make_tracks(evt_number : float,
return tc


def drop_end_point_voxels(voxels: Sequence[Voxel], energy_threshold: float, min_vxls: int = 3,
contiguity: Contiguity = Contiguity.CORNER) -> Sequence[Voxel]:
def drop_end_point_voxels(voxels : Sequence[Voxel],
energy_threshold : float,
min_vxls : int = 3,
contiguity : Contiguity = Contiguity.CORNER) -> Sequence[Voxel]:
"""Eliminate voxels at the end-points of a track, recursively,
if their energy is lower than a threshold. Returns 1 if the voxel
has been deleted succesfully and 0 otherwise."""
Expand Down

0 comments on commit 2c8260e

Please sign in to comment.