Skip to content

Commit

Permalink
rename esim simulator to reflect new name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgehrig18 committed Apr 3, 2023
1 parent fc58757 commit ecbb11a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esim_torch/scripts/generate_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def process_dir(outdir, indir, args):
os.makedirs(outdir, exist_ok=True)

# constructor
esim = esim_torch.EventSimulator_torch(args.contrast_threshold_negative,
args.contrast_threshold_positive,
args.refractory_period_ns)
esim = esim_torch.ESIM(args.contrast_threshold_negative,
args.contrast_threshold_positive,
args.refractory_period_ns)

timestamps = np.genfromtxt(os.path.join(indir, "timestamps.txt"), dtype="float64")
timestamps_ns = (timestamps * 1e9).astype("int64")
Expand Down

0 comments on commit ecbb11a

Please sign in to comment.