Closedown

This commit is contained in:
x03daop
2016-03-31 10:55:08 +02:00
parent 2487829e46
commit d2260b3bca

View File

@@ -59,7 +59,7 @@ try:
data1d = [1,2,3,4,5]
path="scan" + str(cur_range+1) + "/"
save_dataset(path + "spectrum", ydata)
save_dataset(path + "ScientaSpectrum", ydata)
save_dataset(path + "channels", xdata)
set_attribute(path + "channels", ATTR_WRITABLE_DIMENSION, 1)
set_attribute(path, "Range Low", ranges[cur_range].min)
@@ -68,6 +68,8 @@ try:
set_attribute(path, "Step Size",vars[1])
set_attribute(path, "Pass Energy",pass_energy)
set_attribute(path, "Iterations",cur_iteration+1)
set_attribute(path, "Readables", ["ScientaSpectrum",])
set_attribute(path, "Writables", ["channels",])
create_diag_datasets(path)
append_diag_datasets(path)