Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
8768696
docs: polarization calibration prototype
jokasimr Feb 25, 2025
f78be6c
docs: include figures
jokasimr Feb 25, 2025
0c686af
docs: add header
jokasimr Feb 25, 2025
a25ef55
changes
jokasimr Feb 27, 2025
d22df0f
feat: implement calibration and reduction
jokasimr Feb 27, 2025
e3bb2c1
refactor: move test code to tests, add docstrings
jokasimr Mar 18, 2025
2e50d3b
feat: draft sciline domain types
jokasimr Mar 18, 2025
7b70b11
test: solve recovers expected parameters
jokasimr Mar 18, 2025
ab78efb
test: stacking logic in linsolve
jokasimr Mar 18, 2025
fc20fd0
fix: remove unused
jokasimr Mar 19, 2025
893abdb
fix: add position already in reduction to lz
jokasimr Mar 19, 2025
0fb609a
fix: calibration on lz grid, compute Q on lz grid for sample + add ma…
jokasimr Mar 19, 2025
727bf44
docs: add esspolarization + tox -e deps
jokasimr Mar 20, 2025
ec48ec6
docs: add example reducing polarized mcstas data
jokasimr Mar 31, 2025
e9acb7c
fix: move factor from normalization to polarization matrix
jokasimr Apr 1, 2025
6e11c7d
fix: use pandas to load csv
jokasimr Apr 1, 2025
381227e
fix: tweak center of incident angle for mcstas data
jokasimr Apr 1, 2025
0329a22
fix: old value was better
jokasimr Apr 2, 2025
179aaef
fix: tests
jokasimr Apr 2, 2025
261ac50
feat: make normalization able to handle different kinds of references
jokasimr Apr 2, 2025
cca0ce5
fix: no need to have two reduce to Q functions
jokasimr Apr 4, 2025
4930b00
docs: stap template
jokasimr Apr 4, 2025
725ee1d
fix: remove unnecessary
jokasimr Apr 7, 2025
91fb8cd
deps: add ipympl to docs
jokasimr Apr 9, 2025
8d9ba1d
Merge branch 'polcal' of github.com:scipp/essreflectometry into polcal
jokasimr Apr 9, 2025
6089d41
docs: remove polarization notebook
jokasimr Apr 9, 2025
f8083b2
docs: remove polarization notebook from docs
jokasimr Apr 9, 2025
d7d31c0
docs: remove polarization correction experiment notebook
jokasimr Apr 9, 2025
b187fbd
Merge branch 'main' into polcal
jokasimr Apr 9, 2025
6e1a83f
docs: remove figures
jokasimr Apr 9, 2025
1c92913
Merge branch 'polcal' of github.com:scipp/essreflectometry into polcal
jokasimr Apr 9, 2025
c5610b7
fix: use np.kron to construct calibration matrix
jokasimr Apr 25, 2025
0913455
deps: use latest sciline for new Scope
jokasimr Apr 25, 2025
4099486
fix: use dims arg to do concatenation
jokasimr Apr 28, 2025
f6764bb
refactor: implement container for polarization calibration parameters
jokasimr Apr 28, 2025
be37702
fix: better doc comment + fix typo
jokasimr Apr 28, 2025
76bcf3c
Merge remote-tracking branch 'origin/main' into polcal
jokasimr Apr 28, 2025
7d1753c
Merge branch 'main' into polcal
jokasimr Apr 28, 2025
ca28f99
fix: reimplement kron, numpy and scipp doesn't play nicely in this case
jokasimr Apr 29, 2025
e0db8f0
fix: don't assume only dimension of 1d reference is Q
jokasimr Apr 29, 2025
e72eb85
docs: add notebook and data for test case with simulated spin flip sa…
jokasimr Apr 29, 2025
dc36161
Update src/ess/estia/calibration.py
jokasimr Apr 30, 2025
3f7182b
Apply automatic formatting
pre-commit-ci-lite[bot] Apr 30, 2025
9aaf79d
docs: add new example notebook to index
jokasimr Apr 30, 2025
e801737
Merge branch 'polcal' of github.com:scipp/essreflectometry into polcal
jokasimr Apr 30, 2025
889ecc5
docs: fix hader
jokasimr Apr 30, 2025
8d071c7
docs: fix sample names
jokasimr Apr 30, 2025
8843f96
Merge remote-tracking branch 'origin/main' into polcal
jokasimr May 27, 2025
b6e0484
Merge remote-tracking branch 'origin/main' into polcal
jokasimr May 27, 2025
8be1834
ci: update pooch data
jokasimr May 27, 2025
9bafe51
fix: add Q approximation to reduced reference
jokasimr May 27, 2025
89c3293
docs: update example notebook
jokasimr Jun 2, 2025
280c6a9
refactor: remove old polarization implementation
jokasimr Jun 2, 2025
7e18c82
refactor: remove unused
jokasimr Jun 2, 2025
61cb147
deps
jokasimr Aug 25, 2025
3abdc52
Merge remote-tracking branch 'origin/main' into polcal
jokasimr Aug 25, 2025
940bdd2
deps: add esspolarization
jokasimr Aug 25, 2025
c82d472
fix
jokasimr Aug 25, 2025
db753ef
fix: remove old Q and theta coords before setting coords based on sam…
jokasimr Aug 26, 2025
32d1845
Merge branch 'polcal' of github.com:scipp/essreflectometry into polcal
jokasimr Aug 26, 2025
8e77dfd
Merge branch 'main' into polcal
jokasimr Aug 26, 2025
bad0209
Merge branch 'main' into polcal
jokasimr Aug 26, 2025
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
1 change: 1 addition & 0 deletions docs/user-guide/estia/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ hidden:

estia-mcstas-reduction
estia-advanced-mcstas-reduction
simulated-spin-flip-sample
```
419 changes: 419 additions & 0 deletions docs/user-guide/estia/simulated-spin-flip-sample.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ dependencies = [
"scipp>=24.09.1", # Fixed new hist/bin API
"scippneutron>=24.10.0",
"scippnexus>=24.9.1",
"essreduce>=24.9.0",
"esspolarization>=25.7.0",
"essreduce>=25.4.0",
"pandas>=2.1.2",
]
Expand Down
2 changes: 2 additions & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ sciline>=24.6.0
scipp>=24.09.1
scippneutron>=24.10.0
scippnexus>=24.9.1
essreduce>=24.9.0
esspolarization>=25.7.0
essreduce>=25.4.0
pandas>=2.1.2
29 changes: 20 additions & 9 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:130d28f27af16c0c6e122d19bb76f37750334d26
# SHA1:bf61021af0651de94917d73affdb6ed676b2a068
#
# This file was generated by pip-compile-multi.
# To update, run:
Expand All @@ -18,19 +18,27 @@ cyclebane==24.10.0
cycler==0.12.1
# via matplotlib
dask==2025.7.0
# via -r base.in
# via
# -r base.in
# esspolarization
dnspython==2.7.0
# via email-validator
email-validator==2.2.0
# via scippneutron
essreduce==25.7.1
esspolarization==25.7.0
# via -r base.in
fonttools==4.59.0
essreduce==25.7.1
# via
# -r base.in
# esspolarization
fonttools==4.59.1
# via matplotlib
fsspec==2025.7.0
# via dask
graphviz==0.21
# via -r base.in
# via
# -r base.in
# esspolarization
h5py==3.14.0
# via
# scippneutron
Expand All @@ -39,7 +47,7 @@ idna==3.10
# via email-validator
importlib-metadata==8.7.0
# via dask
kiwisolver==1.4.8
kiwisolver==1.4.9
# via matplotlib
lazy-loader==0.4
# via
Expand Down Expand Up @@ -71,7 +79,7 @@ packaging==25.0
# dask
# lazy-loader
# matplotlib
pandas==2.3.1
pandas==2.3.2
# via -r base.in
partd==1.4.2
# via dask
Expand Down Expand Up @@ -100,13 +108,15 @@ pyyaml==6.0.2
# via
# dask
# orsopy
sciline==25.5.2
sciline==25.8.0
# via
# -r base.in
# esspolarization
# essreduce
scipp==25.5.1
# via
# -r base.in
# esspolarization
# essreduce
# scippneutron
# scippnexus
Expand All @@ -121,6 +131,7 @@ scippnexus==25.6.0
# scippneutron
scipy==1.16.1
# via
# esspolarization
# scippneutron
# scippnexus
six==1.17.0
Expand All @@ -129,7 +140,7 @@ toolz==1.0.0
# via
# dask
# partd
typing-extensions==4.14.1
typing-extensions==4.15.0
# via
# pydantic
# pydantic-core
Expand Down
4 changes: 2 additions & 2 deletions requirements/basetest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
certifi==2025.8.3
# via requests
charset-normalizer==3.4.2
charset-normalizer==3.4.3
# via requests
idna==3.10
# via requests
Expand All @@ -27,7 +27,7 @@ pygments==2.19.2
# via pytest
pytest==8.4.1
# via -r basetest.in
requests==2.32.4
requests==2.32.5
# via pooch
urllib3==2.5.0
# via requests
8 changes: 4 additions & 4 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ certifi==2025.8.3
# via requests
chardet==5.2.0
# via tox
charset-normalizer==3.4.2
charset-normalizer==3.4.3
# via requests
colorama==0.4.6
# via tox
distlib==0.4.0
# via virtualenv
filelock==3.18.0
filelock==3.19.1
# via
# tox
# virtualenv
Expand All @@ -40,13 +40,13 @@ pluggy==1.6.0
# via tox
pyproject-api==1.9.1
# via tox
requests==2.32.4
requests==2.32.5
# via -r ci.in
smmap==5.0.2
# via gitdb
tox==4.28.4
# via -r ci.in
urllib3==2.5.0
# via requests
virtualenv==20.33.1
virtualenv==20.34.0
# via tox
2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
-r test.in
-r wheels.in
copier
jupyterlab
jupyterlab>=4.4.3
pip-compile-multi
pre-commit
14 changes: 7 additions & 7 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:efd19a3a98c69fc3d6d6233ed855de7e4a208f74
# SHA1:d4ffe53db30990b73c1af821d46399aafea47d77
#
# This file was generated by pip-compile-multi.
# To update, run:
Expand Down Expand Up @@ -26,7 +26,7 @@ async-lru==2.0.5
# via jupyterlab
cffi==1.17.1
# via argon2-cffi-bindings
copier==9.9.0
copier==9.9.1
# via -r dev.in
dunamai==1.25.0
# via copier
Expand All @@ -44,11 +44,11 @@ isoduration==20.11.0
# via jsonschema
jinja2-ansible-filters==1.3.2
# via copier
json5==0.12.0
json5==0.12.1
# via jupyterlab-server
jsonpointer==3.0.0
# via jsonschema
jsonschema[format-nongpl]==4.25.0
jsonschema[format-nongpl]==4.25.1
# via
# jupyter-events
# jupyterlab-server
Expand All @@ -57,15 +57,15 @@ jupyter-events==0.12.0
# via jupyter-server
jupyter-lsp==2.2.6
# via jupyterlab
jupyter-server==2.16.0
jupyter-server==2.17.0
# via
# jupyter-lsp
# jupyterlab
# jupyterlab-server
# notebook-shim
jupyter-server-terminals==0.5.3
# via jupyter-server
jupyterlab==4.4.5
jupyterlab==4.4.6
# via -r dev.in
jupyterlab-server==2.27.3
# via jupyterlab
Expand Down Expand Up @@ -109,7 +109,7 @@ terminado==0.18.1
# jupyter-server-terminals
toposort==1.10
# via pip-compile-multi
types-python-dateutil==2.9.0.20250708
types-python-dateutil==2.9.0.20250822
# via arrow
uri-template==1.3.0
# via jsonschema
Expand Down
24 changes: 11 additions & 13 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ accessible-pygments==0.0.5
# via pydata-sphinx-theme
alabaster==1.0.0
# via sphinx
appnope==0.1.4
# via ipykernel
asttokens==3.0.0
# via stack-data
attrs==25.3.0
Expand All @@ -24,7 +22,7 @@ babel==2.17.0
# via
# pydata-sphinx-theme
# sphinx
beautifulsoup4==4.13.4
beautifulsoup4==4.13.5
# via
# nbconvert
# pydata-sphinx-theme
Expand All @@ -34,13 +32,13 @@ bqplot==0.12.45
# via ipydatagrid
certifi==2025.8.3
# via requests
charset-normalizer==3.4.2
charset-normalizer==3.4.3
# via requests
comm==0.2.3
# via
# ipykernel
# ipywidgets
debugpy==1.8.15
debugpy==1.8.16
# via ipykernel
decorator==5.2.1
# via ipython
Expand All @@ -56,7 +54,7 @@ docutils==0.21.2
# sphinxcontrib-bibtex
executing==2.2.0
# via stack-data
fastjsonschema==2.21.1
fastjsonschema==2.21.2
# via nbformat
gast==0.4.0
# via py2vega
Expand Down Expand Up @@ -93,7 +91,7 @@ jinja2==3.1.6
# nbconvert
# nbsphinx
# sphinx
jsonschema==4.25.0
jsonschema==4.25.1
# via nbformat
jsonschema-specifications==2025.4.1
# via jsonschema
Expand Down Expand Up @@ -126,7 +124,7 @@ matplotlib-inline==0.1.7
# via
# ipykernel
# ipython
mdit-py-plugins==0.4.2
mdit-py-plugins==0.5.0
# via myst-parser
mdurl==0.1.2
# via markdown-it-py
Expand All @@ -149,7 +147,7 @@ nest-asyncio==1.6.0
# via ipykernel
pandocfilters==1.5.1
# via nbconvert
parso==0.8.4
parso==0.8.5
# via jedi
pexpect==4.9.0
# via ipython
Expand Down Expand Up @@ -189,19 +187,19 @@ pygments==2.19.2
# sphinx
python-dotenv==1.1.1
# via pydantic-settings
pyzmq==27.0.1
pyzmq==27.0.2
# via
# ipykernel
# jupyter-client
referencing==0.36.2
# via
# jsonschema
# jsonschema-specifications
requests==2.32.4
requests==2.32.5
# via
# pooch
# sphinx
rpds-py==0.26.0
rpds-py==0.27.0
# via
# jsonschema
# referencing
Expand Down Expand Up @@ -244,7 +242,7 @@ stack-data==0.6.3
# via ipython
tinycss2==1.4.0
# via bleach
tornado==6.5.1
tornado==6.5.2
# via
# ipykernel
# jupyter-client
Expand Down
2 changes: 2 additions & 0 deletions requirements/nightly.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dask>=2022.1.0
python-dateutil
graphviz
orsopy>=1.2
essreduce>=24.9.0
esspolarization>=25.7.0
essreduce>=25.4.0
pandas>=2.1.2
pytest>=7.0
Expand Down
Loading
Loading