Normalization_batch

Notebook name: normalization_batch.ipynb

Description

This notebook normalized the imaging data (tiff or fits) by removing the background and fixing the fluctuations of the neutron beam. You will need:

  • select your images
  • select your open beam (OB)
  • optional - select the dark field (DF)
  • optional - select one or more background region in your sample images
  • select output folder where the normalized images will be saved
  • normalization will run in the background

Start the notebook

If you need help accessing this notebook, check the How To > Start the python notebooks tutorial.

How to Use It?

Select your IPTS

Check the full tutorial here

loading the Images

You need to provide the list of samples, OB and DF (if needed). To do so, just SHIFT + ENTER the following cell to display a selection tool wizard.

The dialogbox will start listing the files from the IPTS folder you selected in the first cell. Feel free to navigate to find your data set.

Check the [file selection tool tutorial](/tutorial/notebooks/select_ipts/#activate-search) to learn how to use the file selector tool.
  • Select your sample images
  • click Next Step>>
  • Select your OB images
  • click Next Step>>
  • OPTIONAL Select your DF images
  • click Next Step>> to let the program load all your images.

Select Background Region

SHIFT + ENTER to run the cell. A new User Interface (UI) will come to life. If you can not see the UI, check behind the notebook window.

Just click OK if you do not want to select any region of interest (ROI).

If you want to provide one, or more, ROI, click + on the right of the GUI and move/resize the ROI using the mouse, or the table values.

Export Folder

Select where you want to output the normalized data, then run the following cell. Once the output folder selected, a folder name after the input data folder is created and will contain all the normalized data.

Normalization (in background)

This cell runs the normalization in batch mode, this means that you can keep working on the notebook (select more data to normalized) while the data are normalized behind.