From ecbb11a9345bb9d31b4b691e7d82965da4401345 Mon Sep 17 00:00:00 2001 From: Daniel Gehrig Date: Mon, 3 Apr 2023 15:10:57 +0000 Subject: [PATCH] rename esim simulator to reflect new name --- esim_torch/scripts/generate_events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esim_torch/scripts/generate_events.py b/esim_torch/scripts/generate_events.py index ab23e00..82d45d2 100644 --- a/esim_torch/scripts/generate_events.py +++ b/esim_torch/scripts/generate_events.py @@ -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")