Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process_run DAG #69

Closed
4 of 5 tasks
Tracked by #65
fredericpoitevin opened this issue Apr 30, 2022 · 1 comment · Fixed by #201
Closed
4 of 5 tasks
Tracked by #65

process_run DAG #69

fredericpoitevin opened this issue Apr 30, 2022 · 1 comment · Fixed by #201
Assignees

Comments

@fredericpoitevin
Copy link
Collaborator

fredericpoitevin commented Apr 30, 2022

We list the tasks that define each DAG. We consider a task completed when successfully ran manually on the FFB nodes, and a DAG completed when successfully ran through the eLog.

  • run_analysis
$ . elog_submit.sh -c ../tutorial/mfxlv4920.yaml -t run_analysis -n 8
run_analysis:
  max_events: -1

Figures visualizing the powder pattern and run statistics will be saved to ${config.root_dir}/powder/fig/*_r{run:04}.png.

  • opt_distance
$ . elog_submit.sh -c ../tutorial/mfxlv4920.yaml -t opt_distance -n 1
opt_distance:
  center: 960 960

If the run is a silver behenate run, this will estimate the distance to the detector and generate a new CrystFEL-style geometry file with the coffset parameter updated accordingly. A figure of the fit can be found at: ${config.root_dir}/geom/figs/r${run:04}.png

$ . elog_submit.sh -c ../tutorial/mfxlv4920.yaml -t find_peaks -n 8
find_peaks:
  tag: ''
  psana_mask: False
  min_peaks: 10
  max_peaks: 2048
  npix_min: 2
  npix_max: 30
  amax_thr: 300.
  atot_thr: 600.
  son_min: 10.0
  peak_rank: 3
  r0: 3.0
  dr: 2.0
  nsigm: 10.0
  • index
$ . elog_submit.sh -c ../tutorial/mfxlv4920.yaml -t index -n 8
index:
  tag: 'test'
  int_radius: '4,5,6'
  methods: 'mosflm'
  cell: '/cds/data/psdm/mfx/mfxlv4920/scratch/apeck/cco.cell'
  tolerance: '5,5,5,1.5'
  no_revalidate: True
  multi: True
  profile: True
  • display
@fredericpoitevin fredericpoitevin added this to the SFX demo milestone Apr 30, 2022
@fredericpoitevin fredericpoitevin changed the title index_run DAG process_run DAG May 2, 2022
@fredericpoitevin fredericpoitevin mentioned this issue May 2, 2022
3 tasks
@fredericpoitevin
Copy link
Collaborator Author

The corresponding DAG would be something like this:

ag_behenate >> opt_distance
run_analysis >> opt_distance
no_ag_behenate >> find_peaks >> index

But we don't have the Y/N logic for detecting AgBehenate at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant