Skip to content

Commit

Permalink
kymo: this code does nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepVanlier committed Nov 17, 2023
1 parent 95aa56a commit aa9d303
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lumicks/pylake/kymo.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ def _default_line_time_factory(self: "Kymo"):

dead_time = np.argmax(beyond_first_line)

# Special case for no dead time. Is it really no deadtime, or a single line?
if dead_time == 0 and not np.any(beyond_first_line):
return scan_time * infowave._src.dt * ns_to_sec

return (scan_time + dead_time) * infowave._src.dt * ns_to_sec

elif self.timestamps.shape[1] > 1:
Expand Down

0 comments on commit aa9d303

Please sign in to comment.