Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 5c4fd02
_commit: d704227
_src_path: gh:scipp/copier_template
description: Reflectometry data reduction for the European Spallation Source
max_python: '3.13'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ jobs:
- run: tox -e linkcheck
if: ${{ inputs.linkcheck }}
- uses: actions/upload-artifact@v4
id: artifact-upload-step
with:
name: docs_html
path: html/
- run: echo "::notice::https://remote-unzip.deno.dev/${{ github.repository }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}"

- uses: JamesIves/[email protected]
if: ${{ inputs.publish }}
Expand Down
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,9 @@ def do_not_plot(*args, **kwargs):
# Specific lines in Github blobs cannot be found by linkcheck.
r'https?://github\.com/.*?/blob/[a-f0-9]+/.+?#',
]

# -- Options for Matplotlib in notebooks ----------------------------------

nbsphinx_execute_arguments = [
"--Session.metadata=scipp_sphinx_build=True",
]
67 changes: 67 additions & 0 deletions docs/user-guide/amor/gui.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "0",
"metadata": {},
"outputs": [],
"source": [
"import warnings\n",
"warnings.filterwarnings(\"ignore\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1",
"metadata": {},
"outputs": [],
"source": [
"%matplotlib widget"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2",
"metadata": {},
"outputs": [],
"source": [
"from ess.reflectometry.gui import AmorBatchReductionGUI"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "3",
"metadata": {},
"outputs": [],
"source": [
"gui = AmorBatchReductionGUI()\n",
"gui.widget\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ dependencies = [
"scippnexus>=24.9.1",
"essreduce",
"pandas",
"ipywidgets",
"ipydatagrid",
"ipytree",
]

dynamic = ["version"]
Expand Down
3 changes: 3 additions & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ scippneutron>=24.7.0
scippnexus>=24.9.1
essreduce
pandas
ipywidgets
ipydatagrid
ipytree
92 changes: 69 additions & 23 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# SHA1:e82c2f6f325de86a068c5252c20acc8ebeb12449
# SHA1:f969ab6f386658dc46c7b372a54f9287f240403c
#
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile-multi
#
annotated-types==0.7.0
# via pydantic
asttokens==3.0.0
# via stack-data
bqplot==0.12.44
# via ipydatagrid
click==8.1.8
# via dask
cloudpickle==3.1.1
Expand All @@ -19,45 +23,65 @@ cyclebane==24.10.0
# via sciline
cycler==0.12.1
# via matplotlib
dask==2025.1.0
dask==2025.3.0
# via -r base.in
decorator==5.1.1
decorator==5.2.1
# via ipython
essreduce==25.2.0
dnspython==2.7.0
# via email-validator
email-validator==2.2.0
# via scippneutron
essreduce==25.4.1
# via -r base.in
exceptiongroup==1.2.2
# via ipython
executing==2.2.0
# via stack-data
fonttools==4.56.0
fonttools==4.57.0
# via matplotlib
fsspec==2025.2.0
fsspec==2025.3.2
# via dask
gast==0.4.0
# via py2vega
graphviz==0.20.3
# via -r base.in
h5py==3.12.1
h5py==3.13.0
# via
# scippneutron
# scippnexus
idna==3.10
# via email-validator
importlib-metadata==8.6.1
# via dask
ipydatagrid==1.4.0
# via -r base.in
ipydatawidgets==4.3.5
# via pythreejs
ipython==8.32.0
ipython==8.35.0
# via ipywidgets
ipytree==0.2.2
# via -r base.in
ipywidgets==8.1.5
# via
# -r base.in
# bqplot
# ipydatagrid
# ipydatawidgets
# ipytree
# pythreejs
jedi==0.19.2
# via ipython
jupyterlab-widgets==3.0.13
# via ipywidgets
kiwisolver==1.4.8
# via matplotlib
lazy-loader==0.4
# via
# plopp
# scippneutron
locket==1.0.0
# via partd
matplotlib==3.10.0
matplotlib==3.10.1
# via
# mpltoolbox
# plopp
Expand All @@ -67,8 +91,9 @@ mpltoolbox==24.5.1
# via scippneutron
networkx==3.4.2
# via cyclebane
numpy==2.2.2
numpy==2.2.4
# via
# bqplot
# contourpy
# h5py
# ipydatawidgets
Expand All @@ -84,9 +109,13 @@ orsopy==1.2.1
packaging==24.2
# via
# dask
# lazy-loader
# matplotlib
pandas==2.2.3
# via -r base.in
# via
# -r base.in
# bqplot
# ipydatagrid
parso==0.8.4
# via jedi
partd==1.4.2
Expand All @@ -95,7 +124,7 @@ pexpect==4.9.0
# via ipython
pillow==11.1.0
# via matplotlib
plopp==24.10.0
plopp==25.3.0
# via
# -r base.in
# scippneutron
Expand All @@ -105,44 +134,51 @@ ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.3
# via stack-data
py2vega==0.6.1
# via ipydatagrid
pydantic==2.11.3
# via scippneutron
pydantic-core==2.33.1
# via pydantic
pygments==2.19.1
# via ipython
pyparsing==3.2.1
pyparsing==3.2.3
# via matplotlib
python-dateutil==2.9.0.post0
# via
# -r base.in
# matplotlib
# pandas
# scippneutron
# scippnexus
pythreejs==2.4.2
# via -r base.in
pytz==2025.1
pytz==2025.2
# via pandas
pyyaml==6.0.2
# via
# dask
# orsopy
sciline==24.10.0
sciline==25.4.1
# via
# -r base.in
# essreduce
scipp==25.2.0
scipp==25.4.0
# via
# -r base.in
# essreduce
# scippneutron
# scippnexus
scippneutron==25.1.0
scippneutron==25.2.1
# via
# -r base.in
# essreduce
scippnexus==24.11.1
scippnexus==25.4.0
# via
# -r base.in
# essreduce
# scippneutron
scipy==1.15.1
scipy==1.15.2
# via
# scippneutron
# scippnexus
Expand All @@ -156,17 +192,27 @@ toolz==1.0.0
# partd
traitlets==5.14.3
# via
# bqplot
# comm
# ipython
# ipywidgets
# matplotlib-inline
# pythreejs
# traittypes
traittypes==0.2.1
# via ipydatawidgets
typing-extensions==4.12.2
# via ipython
tzdata==2025.1
# via
# bqplot
# ipydatawidgets
typing-extensions==4.13.1
# via
# ipython
# pydantic
# pydantic-core
# sciline
# typing-inspection
typing-inspection==0.4.0
# via pydantic
tzdata==2025.2
# via pandas
wcwidth==0.2.13
# via prompt-toolkit
Expand Down
6 changes: 3 additions & 3 deletions requirements/basetest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ exceptiongroup==1.2.2
# via pytest
idna==3.10
# via requests
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
packaging==24.2
# via
# pooch
# pytest
platformdirs==4.3.6
platformdirs==4.3.7
# via pooch
pluggy==1.5.0
# via pytest
pooch==1.8.2
# via -r basetest.in
pytest==8.3.4
pytest==8.3.5
# via -r basetest.in
requests==2.32.3
# via pooch
Expand Down
12 changes: 6 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# pip-compile-multi
#
cachetools==5.5.1
cachetools==5.5.2
# via tox
certifi==2025.1.31
# via requests
Expand All @@ -17,7 +17,7 @@ colorama==0.4.6
# via tox
distlib==0.3.9
# via virtualenv
filelock==3.17.0
filelock==3.18.0
# via
# tox
# virtualenv
Expand All @@ -32,7 +32,7 @@ packaging==24.2
# -r ci.in
# pyproject-api
# tox
platformdirs==4.3.6
platformdirs==4.3.7
# via
# tox
# virtualenv
Expand All @@ -48,11 +48,11 @@ tomli==2.2.1
# via
# pyproject-api
# tox
tox==4.24.1
tox==4.25.0
# via -r ci.in
typing-extensions==4.12.2
typing-extensions==4.13.1
# via tox
urllib3==2.3.0
# via requests
virtualenv==20.29.2
virtualenv==20.30.0
# via tox
Loading
Loading