JupyLabBook @ SIRIUS

Experimental setup

$\LARGE \textbf{SIRIUS Beamline}:\textbf{Experiment 1234}$

$\Large \color{red}{\bf Example\ }$

Beamline alignment

Here we show functions used during beamline aligment.

LaTeX formula can be used: $$\frac{786-558}{2 \times 2069} \times 0.0355 = 1.9mrad$$

Subsection

SIRIUS_2020_03_11_0744: dscan basez -.2 .2 50 .1

Fit with erf function.

SIRIUS_2020_03_11_0752: continuous_ascan delta -.15 .15 100 1

Calibration thetaz

GIXD

SIRIUS_2020_03_12_0756: continuous_ascan delta -24 -19 100 5

Extraction of the Vineyard.

SIRIUS_2020_03_12_0756: continuous_ascan delta -24 -19 100 5

Classic GIXD with: $$q_{xy} = \frac{4\pi}{\lambda}\sin{\left(\frac{2\theta}{2}\right)}$$

Generates:

Isotherm

SIRIUS_Isotherm_2019_02_17_01544: isotherm 1.97 46 35000 1

1D plot

SIRIUS_2020_03_12_0760: run cont_regh.ipy

Add a 1D plot by clicking on '''Add plot to report'''.
Generates SIRIUS_2020_03_12_0760.dat

GIXS

SIRIUS_2019_11_07_00325: tscan 10 10

GIXS: $q_z$ vs $q_{xy}$.
Image and profiles with the approximation $q_{xy} = \frac{4\pi}{\lambda}\sin{\left(\frac{2\theta}{2}\right)}$.
Generates:

Plot Pilatus

SIRIUS_2019_11_07_00325: tscan 10 10

Plot the sum of the images from the Pilatus (time integration).
Generates:

XRF

SIRIUS_2017_12_11_08042: run xsw7.ipy

Plot XRF from the 4-elements detector, in channels and without peak identification.
Generates:

SIRIUS_2017_12_11_08042: run xsw7.ipy

SIRIUS_Fluo_2020_07_03_0042: tscan 500 30

Plot XRF from the 1-element detector, in eVs and with peak identification.
Generates:

XRR

Calibration XRR

To start the calibration click on '''Calib. XRR'''.

Scan XRR

Select the first scan of the XRR series and click on '''Plot XRR'''. Here we show only a few point for the example.

SIRIUS_2021_04_14_4298: run XRR.ipy

Insert script

Script inserted (with automatic scan numbering) using '''Insert script'''.

script_with_loop.ipy

%shopen
%amove delta -40
%run reset_motors.ipy
%amove delta -35
%continuous_ascan delta -35 -25 250 5 #123
%run reset_motors.ipy

for i in range(4):
    %amove delta -20
    %continuous_ascan delta -10 -3 175 5 #124 #126 #128 #130
    %run reset_motors.ipy
    %run cont_regh_abs.ipy #125 #127 #129 #131

for i in range(3):
    %amove delta -20
    %continuous_ascan delta -10 -3 175 5 #132 #135 #138
    %run reset_motors.ipy

    %run cont_regh_abs.ipy #133 #136 #139
    %run cont_regh_abs.ipy #134 #137 #140

for i in range(2):
    %amove delta -20
    %tscan 10 100 #141 #142

%continuous_ascan delta -35 -25 250 5 #143
%amove delta -40
%shclose

Insert positions

Positions extracted from the logs, using '''Insert positions'''.

wm m4

m4roll m4pitch m4tracks_mot m4tz
2.10 -0.0802 1.001 2.42
deg deg mm mm

wm diffracto

deltacodeur euchi euth euphi kappa_h kappa_k
1.00196 -89.57961 90.42039 -0.00580 -0.08252
Degrees deg deg deg
kappa_l qxy qxy0 qz basexPoint basexTrait
-0.18486 2.0556 23.82 -0.92 -15.7275 -15.7274
nm-1 nm-1 nm-1
basezPlan basezPoint basezTrait basepitch baseroll basex
71.1257 71.1257 71.1257 -0.0000 0.000 -15.727
mrad mrad mm
baseyaw basez alphax alphay delta delta0
-0.000 71.126 0.2998 0.2000 -2.9110 -34.2322
mrad mm
deltaa etaa gamma kappav mu kphi
0.0000 0.0000 1.2997 1.3080 -179.9997 0.0000
thetaa thetah komega xs ky ys
0.0000 0.0185 0.0000 0.0000 -0.1000 0.0000
kz zs kx
0.0000 -41.9999 -0.1000

Insert commands

Commands extracted from the logs, using '''Insert commands'''.

Wed, 11 Mar 2020 16:44:04 amove basez -67
Wed, 11 Mar 2020 16:44:11 amove basez 67
Wed, 11 Mar 2020 16:44:58 amove basez 75
Wed, 11 Mar 2020 16:46:26 shopen
Wed, 11 Mar 2020 16:46:34 ct 1
Wed, 11 Mar 2020 16:46:47 ct 1
Wed, 11 Mar 2020 16:46:56 dmove basez 1

Convert logs

Human-readable logs generated in the folder /working/readable_logs/ by clicking on '''Convert logs'''.

Insert an image

Using the command "Insert image".

Export to pdf

PDF generated by clicking on '''Export to pdf'''.