Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2024
1 parent c830f08 commit d118d42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lasy/utils/laser_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ def get_t_peak(grid, dim):
weights = np.sum(weights, axis=(0, 1))
return np.average(grid.axes[-1], weights=weights)


def get_duration(grid, dim):
"""Get duration of the intensity of the envelope, measured as RMS.
Expand Down

0 comments on commit d118d42

Please sign in to comment.