Skip to content

simulation for autofilter

Linus Pithan requested to merge auto_filter_sim into auto_filter

I had the idea to do something like this for the test_configuration

BLISS [1]: config.get('autof')
BLISS [2]: config.get('energy')
BLISS [3]: umv(energy,15) 
BLISS [4]: config.get('sim_diffraction_peak')
BLISS [5]: config.get('autof_mg')
BLISS [6]: autof_mg.set_active() 
BLISS [7]: autof.ascan(sim_diffraction_peak.axis,0,1,sim_diffraction_peak.npoints,.1,sim_diffraction_peak.counter)

but currently there is no data acquired ... I am not so sure about the monitor_counter_name that I provide in the config

currently I get

BLISS [8]: autof.ascan(sim_diffraction_peak.axis,0,1,sim_diffraction_peak.npoints,.1,sim_diffraction_peak.counter)                        
WARNING 2020-05-04 12:01:26,991 flint: Flint starting...

Scan 3 Mon May 04 12:01:29 2020 /tmp/scans/__DEFAULT__/data.h5 __DEFAULT__ user = linus
ascan

           #         dt[s]  value[channel]
[0.26608777] 10000 50000
[0.26608777] 10000 50000
[0.26608777] 10000 50000
[0.26608777] 10000 50000
[0.26608777] 10000 50000

but nothing in flint...

Edited by Linus Pithan

Merge request reports