At the Synchrotron
1. Download frames
On the MX windows CrysalisPro processing box, log in via these credientials:
User: mxuser
Password: Beam109Line
via filezilla or similar program, download the frames of the experiment. Instructions
They are in .h5 files, each of which contains 200 egier frames (20 degrees usually).
/data/mx/EPN/frames/$username/d
where $EPN and $username are the experiment number and the user name, respectively.
You will need each of the .h5 files, including the master file, for each experiment.
It is a good idea to make a new folder for each collection, if you didn't do this during data collection.
At Home
1. Download frames
Via filezilla or similar program, download the frames of the experiment. Instructions
Frames in folder: /data/mx/EPN/frames/$username/d
Frames are in .h5 files, each of which contains 200 egier frames (20 degrees usually).
where $EPN and $username are the experiment number and the user name, respectively.
You will need each of the .h5 files, including the master file, for each experiment.
It is a good idea to make a new folder for each collection, if you didn't do this during data collection.
2. Convert h5 files to cbf (on windows computer at MX1)
On the desktop, open the eiger2cbf_GUI.py shortcut
Fill in the boxes with information about your frames. eg.
Click start. The frames will start converting. When an info box pops up saying “Program completed successfully!”, your frames are ready to open with CrysalisPro.
Optional:
If you want to run eiger2cbf manually so you can select which frames to convert, eiger2cbf is in the PATH, so open a terminal and type eiger2cbf. See eiger2cbf GitHub for instructions.
2. Convert h5 files to cbf (at home)
Things you will need:
eiger2cbf_spawn.py script
eiger2cbf. Download directly from github, or get the exectuable from google drive.
Python 3.8 or above)
Option 1: Via terminal
In the folder for a collection/dataset:
Open a terminal
python eiger2cbf_spawn.py [name of master h5 file] [number of instances to spawn] [filename stem for CBF]
Unless eiger2cbf_spawn.py is in the same folder, you will need to include the path to it in the command.
It is a good idea not to end the filename stem for CBF with a number, because the frame number will be added to this.
In general, use 17 instances to spawn. If you add test to the end of the above command, it will tell you the fastest number of instances to spawn.
For example:
python "C:\Users\boers\OneDrive - ANSTO\Documents\eiger2cbf\eiger2cbf_spawn.py" Thr_1_7s_Om180_K0_P0_0018_master.h5 17 Thr_1_7s_Om180_K0_P0_run18_
Option 2: Via GUI
You will also need a script which launches a GUI.
For this GUI to work, you will also need:
The Gooey package for python, which you can download via pip.https://pypi.org/project/Gooey/
The eiger2cbf_spawn.py script saved to your C drive (or you can edit this in the eiger2cbf_GUI.py directly)
To run the GUI, open the
eiger2cbf_GUI.py