Git Product home page Git Product logo

xfel4456's Introduction

Ananysis code for p004456

Experiment directory:

/gpfs/exfel/exp/SPB/202302/p004456

Put personal analysis code in usr/Shared, e.g. for user "amorgan"

/gpfs/exfel/exp/SPB/202302/p004456/usr/Shared/amorgan

Put any analysis files (bigger than a few megabytes) in /scratch:

/gpfs/exfel/exp/SPB/202302/p004456/scratch

analysis goals:

  • VDS: virtual h5 files that put all processed module data into a single cxi file.
    • e.g. sbatch --array=5 offline/slurm/vds_array.sh to generate a vds file for run 5 from processed data.
  • Generate powder pattern
    • e.g. sbatch --array=40 offline/slurm/powder_sum_array.sh to sum all frames in run 40 using vds file.
  • Get initial geometry (and test with extra-geom)
    • There is a usr/geometry/geom_v5.geom crystFEL geom file (probably from Oleksandr).
    • To have a look python tests/test_geom.py (output below)
  • Jungfrau mask maker
    • Example python offline/tools/maskmaker.py /gpfs/exfel/exp/SPB/202302/p004456/scratch/powder/powder_r0040.h5/data
  • Calculate number, location and intensity of streaks
    • Example sbatch --array=40 offline/slurm/streak_finder.sh. This outputs an "events" file here:
      h5ls -r /p004456/scratch/events/events_r0040.h5
      /                        Group
      /litpixels               Dataset {6066}
      /streak_list             Dataset {80173/Inf}
      /streaks                 Dataset {6066}
      /total_intens            Dataset {6066}
      
  • Generate streakogram, and virtual powder from above
    • Example python offline/streaks_powder_plotter.py -e "/gpfs/exfel/u/scratch/SPB/202302/p004456/events/events_r0040.h5" -g "/gpfs/exfel/exp/XMPL/201750/p700000/proc/r0040/j4m-p2805_v03.geom" will create events_r0040.streaks_powder_plot.png and events_r0040.streakogram_plot.png in folder /gpfs/exfel/u/scratch/SPB/202302/p004456/events/
  • Save hits to cxi file
  • Write cxi file from scan runs, for the purpose of speckle-tracking
    • It seems Margarita already has a means of streaming scan data, with a modified scan log, to the ST software. It would be nice to include this code here.

powder run 40 (test data)

powder_r0040.h5

mask maker 40 (test data)

mask_maker

xfel4456's People

Contributors

chufengl avatar andyofmelbourne avatar ivandga avatar zhangwenhui2012 avatar kartikayyer avatar mansibutola avatar simply-nicky avatar

Watchers

Filipe Maia avatar Tomas Ekeberg avatar Max Felix Hantke avatar Benedikt J. Daurer avatar  avatar  avatar  avatar Paul Lourdu Xavier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.