Skip to content

bblib tutorial

This tutorial provides examples of how to use bblib centering methods.

The tutorial repository contains Jupyter notebooks and the data used in this tutorial.

In the folder bblib_tutorial/data you will find the data required to run the centering methods of bblib, as well as their corresponding masks in the bblib_tutorial/masks folder, and CrystFEL geometry files in the bblib_tutorial/geoms folder.

Remember to set the mask_file path in the geometry files (*.geom) to the corresponding path on your system.

This tutorial runs on bblib version >= 3.1.0.

Installation

To run this tutorial, you will need Python 3.10.

  • In the terminal, type the following command:

    git clone https://github.com/anananacr/bblib_tutorial.git
    

  • Navigate into the bblib_tutorial folder:

cd bblib_tutorial
  • Install the requirements:
pip install -r requirements.txt