Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • jupyterlab
  • master
  • v3.2.1
  • v3.2.2
  • v3.2.3
  • v3.2.3-EWALD
  • v3.2.4
  • v1.0
  • v1.1
  • v2.0
  • v2.1
  • v2.10.1
  • v2.10.2
  • v2.10.3
  • v2.10.4
  • v2.11.1
  • v2.12
  • v2.12.1
  • v2.12.2
  • v2.2
  • v2.3
  • v2.4
  • v2.5
  • v2.6
  • v2.7
  • v2.8
  • v2.9
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.2.0
  • v3.2.1
  • v3.2.2
  • v3.2.3
  • v3.2.4
35 results

Target

Select target project
  • sirius-beamline/notebooks/JupyLabBook
1 result
Select Git revision
  • jupyterlab
  • master
  • v3.2.1
  • v3.2.2
  • v3.2.3
  • v3.2.3-EWALD
  • v3.2.4
  • v1.0
  • v1.1
  • v2.0
  • v2.1
  • v2.10.1
  • v2.10.2
  • v2.10.3
  • v2.10.4
  • v2.11.1
  • v2.12
  • v2.12.1
  • v2.12.2
  • v2.2
  • v2.3
  • v2.4
  • v2.5
  • v2.6
  • v2.7
  • v2.8
  • v2.9
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.2.0
  • v3.2.1
  • v3.2.2
  • v3.2.3
  • v3.2.4
35 results
Show changes

Commits on Source 2

# Release notes
## v3.2.4
- GIXD: Fix bug when a 2D detector is present but images are empty.
- Set is_print_abs to True by default.
## v3.2.3
- Add the possibility to print the mean values of selected sensors in GIXS, GIXD, area_detector, XRF.
......
......@@ -317,9 +317,15 @@ def process_gixd_scan(
fig = None
# Avoid crash of the cell if 2D detector is not present
# or if the images are empty
if x is None:
is_plot = False
is_save = False
else:
if np.shape(mat_binned)[1] == 0:
is_plot = False
is_save = False
print(_RED+'\t. Images of 2D detector are empty'+_RESET)
if is_plot:
fig = plot_gixd_scan(
......
......@@ -152,7 +152,7 @@ def display_widgets_area_detector(expt):
# Print absorbers
dw['is_print_abs'] = iwid.Checkbox(
value=expt.get_default_param_value('is_print_abs', alt=False),
value=expt.get_default_param_value('is_print_abs', alt=True),
style=style,
layout=iwid.Layout(width='150px'),
description='Print absorbers')
......
......@@ -201,7 +201,7 @@ def display_widgets_gixd(expt):
# Print absorbers
dw['is_print_abs'] = iwid.Checkbox(
value=expt.get_default_param_value('is_print_abs', alt=False),
value=expt.get_default_param_value('is_print_abs', alt=True),
style=style,
layout=iwid.Layout(width='150px'),
description='Print absorbers')
......
......@@ -198,7 +198,7 @@ def display_widgets_gixs(expt):
# Print absorbers
dw['is_print_abs'] = iwid.Checkbox(
value=expt.get_default_param_value('is_print_abs', alt=False),
value=expt.get_default_param_value('is_print_abs', alt=True),
style=style,
layout=iwid.Layout(width='150px'),
description='Print absorbers')
......
......@@ -198,7 +198,7 @@ def display_widgets_xrf(expt):
# Print absorbers
dw['is_print_abs'] = iwid.Checkbox(
value=expt.get_default_param_value('is_print_abs', alt=False),
value=expt.get_default_param_value('is_print_abs', alt=True),
style=style,
layout=iwid.Layout(width='150px'),
description='Print absorbers')
......
......@@ -22,7 +22,7 @@ except ModuleNotFoundError:
# Rules for numbering versions
# vX.Y.Z with X major, Y minor, Z patch. Each new version increments Z (not used if Z=0).
# If the file Example.ipynb cannot run with the new libraries, increment Y and restart at Z=0.
__version__ = 'v3.2.3'
__version__ = 'v3.2.4'
# Define the object experiment
# It contains all the attributes relevant to the current experiment
......