From 69433a24a36f9a671053b1f524ee6d21a8b68652 Mon Sep 17 00:00:00 2001 From: Marcel Stefko Date: Tue, 30 May 2017 17:22:38 +0200 Subject: [PATCH] Fixed bug in Fluorophore initialization which caused them to bleach instantly --- nbproject/configs/FIJI_run.properties | 2 ++ src/simulator/generators/realtime/Fluorophore.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 nbproject/configs/FIJI_run.properties diff --git a/nbproject/configs/FIJI_run.properties b/nbproject/configs/FIJI_run.properties new file mode 100644 index 0000000..8b0dcc0 --- /dev/null +++ b/nbproject/configs/FIJI_run.properties @@ -0,0 +1,2 @@ +$label=FIJI run +main.class=ij.ImageJ diff --git a/src/simulator/generators/realtime/Fluorophore.java b/src/simulator/generators/realtime/Fluorophore.java index a8970e7..5bebfb9 100644 --- a/src/simulator/generators/realtime/Fluorophore.java +++ b/src/simulator/generators/realtime/Fluorophore.java @@ -42,7 +42,7 @@ public abstract class Fluorophore extends Emitter { */ public Fluorophore(Camera camera, double x, double y) { super(camera, x, y); - this.current_laser_power = 0.0; + this.current_laser_power = java.lang.Double.NaN; this.random = RNG.getUniformGenerator(); }