Script execution
This commit is contained in:
@@ -14,13 +14,15 @@ import org.apache.commons.math3.linear.Array2DRowRealMatrix as Matrix
|
||||
import ch.psi.utils.Convert.toBidimensional as mono_to_bidi
|
||||
import datetime
|
||||
|
||||
I1 = 20.0
|
||||
I2 = 50.0
|
||||
dI = 1.0
|
||||
settling_time = 0.1
|
||||
plot_image = False
|
||||
number_backgrounds = 0
|
||||
number_images = 1
|
||||
if get_context().source == CommandSource.ui:
|
||||
I1 = 20.0
|
||||
I2 = 50.0
|
||||
dI = 1.0
|
||||
settling_time = 0.1
|
||||
plot_image = False
|
||||
number_backgrounds = 0
|
||||
number_images = 1
|
||||
|
||||
|
||||
plot_name = datetime.datetime.fromtimestamp(time.time()).strftime('%H%M%S')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user