Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
423 commits
Select commit Hold shift + click to select a range
8f5d3cb
Hotfix w/ better name or type checking
cedriclim1 Mar 5, 2026
b40f946
Optimizer mixin hotfix fastforward
cedriclim1 Mar 5, 2026
aacd82d
Added new tests as well
cedriclim1 Mar 5, 2026
9dbeb5b
Merge pull request #187 from electronmicroscopy/optimizer_mixin_hotfix
arthurmccray Mar 5, 2026
58d853d
Merge remote-tracking branch 'upstream/dev' into diffractive_imaging
arthurmccray Mar 5, 2026
1fb2ca9
Added DatasetConstraintParams, works with dictionary inputs still
cedriclim1 Mar 5, 2026
2967c9d
Merge branch 'dev' into tomography_refactor
cedriclim1 Mar 5, 2026
f5d6351
OptimizerMixin fix tests
cedriclim1 Mar 5, 2026
9f92931
Merge pull request #183 from electronmicroscopy/chore/update-lockfile…
gvarnavi Mar 5, 2026
c1a7e23
Docstrings for dataset_models and object_models
cedriclim1 Mar 5, 2026
2c91064
Readded dataset models type back in
cedriclim1 Mar 5, 2026
882d9e9
Bug
cedriclim1 Mar 5, 2026
64ee01e
NumPy style docstrings
cedriclim1 Mar 5, 2026
47f31ea
Some typos in the docstrings
cedriclim1 Mar 5, 2026
586f3bc
Added some __str__ for the OptimizerParams; not sure if needed but be…
cedriclim1 Mar 5, 2026
f628b20
Merge remote-tracking branch 'upstream/dev' into diffractive_imaging
arthurmccray Mar 5, 2026
9693b11
updating Vector save to call compact() first
arthurmccray Mar 5, 2026
f72bea2
reorganizing methods and attributes
arthurmccray Mar 5, 2026
9684e3e
few simplifications to Vector
arthurmccray Mar 6, 2026
385e196
Merge pull request #166 from electronmicroscopy/io_hotfix
arthurmccray Mar 6, 2026
220eda1
Merge pull request #174 from electronmicroscopy/release-action
arthurmccray Mar 6, 2026
fea9c8e
Merge branch 'pr-184' into imaging_refactor
darshan-mali Mar 6, 2026
758cf26
Created Lattice class. Added constructors, properties and define_latt…
darshan-mali Mar 6, 2026
787585e
Merge pull request #184 from cophus/vector-update
arthurmccray Mar 6, 2026
bee6bb1
chore: update lock file
quantem-bot Mar 9, 2026
74d1137
Merge pull request #189 from electronmicroscopy/chore/update-lockfile…
gvarnavi Mar 9, 2026
35e81b3
Added test_lattice.py. Contains basic pytests for Lattice Initializat…
darshan-mali Mar 9, 2026
f7f7497
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Mar 9, 2026
568fe35
in ptycho, visualize scan positions, get real-space sampling
bobleesj Mar 10, 2026
9ce62df
add show_scan_position print output in the api doc
bobleesj Mar 10, 2026
66ec915
bin, crop API doc improvement
bobleesj Mar 10, 2026
72ecdf7
add bin tests for 4dstem
bobleesj Mar 10, 2026
b9b3ed3
maintain original api doc for some
bobleesj Mar 10, 2026
cbb3e54
remove free memory part
bobleesj Mar 10, 2026
e57def2
do not free memory part in API
bobleesj Mar 10, 2026
1590fac
add Object FOV instead of FOV per PR feedback
bobleesj Mar 10, 2026
922dc12
Verbose, if false will just start printing
cedriclim1 Mar 10, 2026
c5b4d2e
Merge pull request #191 from electronmicroscopy/dataset-bin-crop-api-doc
arthurmccray Mar 11, 2026
8376164
Merge pull request #190 from bobleesj/ptycho-scan-position-plot
arthurmccray Mar 11, 2026
bad43ce
chore: update lock file
quantem-bot Mar 16, 2026
6c18c51
Merge pull request #192 from electronmicroscopy/chore/update-lockfile…
gvarnavi Mar 16, 2026
8472dfb
Added relaxation term to SIRT reconstruction, stable gradients
cedriclim1 Mar 16, 2026
0d34fc0
Merge branch 'tomography_refactor' of https://github.com/electronmicr…
cedriclim1 Mar 16, 2026
d2a9434
arthurs typing changes
gvarnavi Mar 17, 2026
4adb5ad
Merge pull request #182 from electronmicroscopy/from_abtem_zarr
arthurmccray Mar 17, 2026
3621568
Relaxation parameters for SIRT reconstructions
cedriclim1 Mar 17, 2026
d332b4b
fixing bug of arg name changing in dataset pad
arthurmccray Mar 17, 2026
b089e55
updating example to best practices for INR make equispaced grid
arthurmccray Mar 18, 2026
e860c03
show_2d, add api description and examples for color, norm, scale bar
bobleesj Mar 19, 2026
7b5eaf7
use the most common api
bobleesj Mar 19, 2026
eda4b9d
Minor formatting changes
darshan-mali Mar 19, 2026
876e7b1
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Mar 19, 2026
ec87cbe
Updated Errors. Removed assert from src and replaced with raise.
darshan-mali Mar 19, 2026
023b6cf
Updated pytest
darshan-mali Mar 19, 2026
614ffa1
DDP dist.all_reduce for scheduler stepping
cedriclim1 Mar 19, 2026
8772d89
.to() for object_models fixed; Note should check if world_size > 1 an…
cedriclim1 Mar 20, 2026
196b9e9
@arthurmccray cuBLAS error on the first iteration is due to torch.aut…
cedriclim1 Mar 22, 2026
3e19602
@arthurmccray all Python 3.14 conflcits have been resolved.
cedriclim1 Mar 22, 2026
c7be969
TomographyLite updated to match ObjConstraints and DatasetConstraints
cedriclim1 Mar 23, 2026
471a851
Merge pull request #194 from bobleesj/show_2d-example-api
cedriclim1 Mar 23, 2026
df9d6f8
show_2d upstream
cedriclim1 Mar 23, 2026
bcf6ee4
chore: update lock file
quantem-bot Mar 23, 2026
a38f0c1
Merge pull request #200 from electronmicroscopy/chore/update-lockfile…
gvarnavi Mar 23, 2026
51ca601
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Mar 23, 2026
a7f9b5d
Fix for TomographyLite when reloading
cedriclim1 Mar 23, 2026
73c282f
Show metrics total loss + lrs from different optimizers after finishe…
cedriclim1 Mar 24, 2026
70ecd70
Added show_metrics to SIRT reconstructions as well
cedriclim1 Mar 24, 2026
1517b33
updating viz with ShowParams
arthurmccray Mar 24, 2026
c91148f
Added a check to make sure that if a list(tuple) is given it should …
cedriclim1 Mar 24, 2026
fd13a8e
Merge branch 'dev' into tomography_refactor
cedriclim1 Mar 24, 2026
c2f46fe
Setting up DDP for obj_model print statement in TomographyBase now on…
cedriclim1 Mar 24, 2026
3d74da8
Merge branch 'tomography_refactor' of https://github.com/electronmicr…
cedriclim1 Mar 24, 2026
8e1c1ef
uv.lock fix?
cedriclim1 Mar 24, 2026
b922cbb
num_samples_per_ray schedule provided set to only global_rank 0 print
cedriclim1 Mar 24, 2026
c81b2b5
Type-hinting ignore fix in inr.py
cedriclim1 Mar 24, 2026
62616d7
to_numpy() added in tomography_utils.py, and edited background_subtract
cedriclim1 Mar 24, 2026
3567b4e
tomography_utils.py diff_shift_2d updated docstring
cedriclim1 Mar 24, 2026
5923624
plot_losses() function implemented both for conventional and INR algo…
cedriclim1 Mar 24, 2026
0ec02df
Quick fix on object_models DDP instantiation, global_rank is not defi…
cedriclim1 Mar 24, 2026
8afb028
logger_tomography fixed linting
cedriclim1 Mar 24, 2026
4ebb1d9
TomographyDataset quantile linter error fixed
cedriclim1 Mar 24, 2026
435e623
Linter error in .reconstruct
cedriclim1 Mar 24, 2026
5c10509
Fixed all linter issues in top-level tomography.py
cedriclim1 Mar 24, 2026
fc0c675
logger_tomography.py type-hinting fix
cedriclim1 Mar 24, 2026
462e7a0
dataset_models.py type-hinting
cedriclim1 Mar 24, 2026
238bffd
radon.py type-hinting fix
cedriclim1 Mar 24, 2026
1b3b0cd
tomography_opt.py linting errors fixed by Claude
cedriclim1 Mar 24, 2026
ab44488
Removed tomography_old and put forkserver back in instead of spawn.
cedriclim1 Mar 24, 2026
8d85f30
Nevermind back to spawn, DataLoader doesn't like to be in forkserver
cedriclim1 Mar 24, 2026
96c1665
forgot to include the new file whoops
arthurmccray Mar 24, 2026
c60a130
adding checks for incompatible arguments and validators
arthurmccray Mar 24, 2026
ccaf70c
updating type hinting to 3.11+
arthurmccray Mar 24, 2026
390a81c
bugfix vmax and refactor list to combine
arthurmccray Mar 24, 2026
7c2735f
fixing type hinting and potential circular import
arthurmccray Mar 24, 2026
ee204ab
fixing arg passing to _show_combined
arthurmccray Mar 24, 2026
b63997e
adding inverse units picking
arthurmccray Mar 24, 2026
d6e2aa8
Zero-pad docs fixed
cedriclim1 Mar 24, 2026
9ebc845
Merge branch 'tomography_refactor' of https://github.com/electronmicr…
cedriclim1 Mar 24, 2026
56c44e5
fixing linescan returns, improving complex cbar labels
arthurmccray Mar 25, 2026
28021af
fixing couple typehints
arthurmccray Mar 25, 2026
6b40b52
Merge pull request #167 from electronmicroscopy/tomography_refactor
arthurmccray Mar 25, 2026
e482d76
chore: update lock file
quantem-bot Mar 30, 2026
a9b9608
Merge pull request #203 from electronmicroscopy/chore/update-lockfile…
gvarnavi Mar 30, 2026
7d0ad3f
Refactoring. Split all plotting functions from lattice.py into lattic…
darshan-mali Apr 4, 2026
af49ef3
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Apr 4, 2026
dd12d60
fix
smribet Apr 6, 2026
7dfb38b
updating slicing too
smribet Apr 7, 2026
d92e5c4
adding doc strings
smribet Apr 8, 2026
ea6cfa3
chore: update lock file
quantem-bot Apr 13, 2026
a21165d
Merge pull request #210 from electronmicroscopy/diffractive_imaging
cedriclim1 Apr 15, 2026
cbb59d3
fix for fft for non square scans
smribet Apr 15, 2026
2148679
Added k-planes model
cedriclim1 Apr 15, 2026
c299ca8
Added PPLR stuff
cedriclim1 Apr 15, 2026
5cf3d87
updating docstrings and examples in show2d, linescan for 3d
arthurmccray Apr 15, 2026
4f792b6
Merge pull request #202 from electronmicroscopy/show_2d_dataclass_ove…
bobleesj Apr 15, 2026
9ac27a9
object_models optimization setting is working well. Only thing that n…
cedriclim1 Apr 15, 2026
5f40d5a
Optimizing, set_optimizer is just default to Adam now, probably need …
cedriclim1 Apr 16, 2026
0897ed1
Merge branch 'dev' into diffractive_imaging
arthurmccray Apr 16, 2026
7f51dc5
KPlanes Tilted claude implementation, need to talk to Corneel. Things…
cedriclim1 Apr 16, 2026
9752ad0
type fixes
arthurmccray Apr 16, 2026
af140be
Added TV loss for PPLR models, I don't like this solution though will…
cedriclim1 Apr 16, 2026
04bd1dc
Merge branch 'electronmicroscopy:dev' into optmixin_pplr
cedriclim1 Apr 16, 2026
8058091
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Apr 16, 2026
73c0d30
object_models.py now has tv_loss for both KPlanes and INR architectur…
cedriclim1 Apr 16, 2026
35157fb
KPlanes with R9+SVD parameterization, everything seems to be working …
cedriclim1 Apr 17, 2026
1c89ad5
Everything seems to be working; only things to do is to take a look a…
cedriclim1 Apr 17, 2026
3b951dd
Merge pull request #207 from smribet/crop_hot_fix
arthurmccray Apr 17, 2026
cbd7044
Merge pull request #209 from electronmicroscopy/chore/update-lockfile…
arthurmccray Apr 17, 2026
9aa35da
Merge pull request #211 from electronmicroscopy/diffractive_imaging
arthurmccray Apr 17, 2026
851cff8
update PR into a statement
bobleesj Apr 17, 2026
d9e1ef1
Merge pull request #134 from bobleesj/pr-tmp
bobleesj Apr 17, 2026
4215d6e
New TV loss function
cedriclim1 Apr 17, 2026
aebf801
TV volume -- needs significant refactoring everywhere
cedriclim1 Apr 18, 2026
2579847
DDP Fixes for PPLR stuff
cedriclim1 Apr 19, 2026
7ef264f
Added additional test cases as requested in PR Review
darshan-mali Apr 21, 2026
40bb9ec
Added plotting fixes as requested in PR review
darshan-mali Apr 21, 2026
3bc98e9
Merge remote-tracking branch 'upstream/dev' into imaging_refactor
darshan-mali Apr 21, 2026
a59baac
Changes
cedriclim1 Apr 22, 2026
251f3fb
Reorganizing tensor decomposition methods. Defined a new TensorDecomp…
cedriclim1 Apr 23, 2026
e33fec1
Removed some the _unwrap dependencies. Added ObjectTensorDecomp on to…
cedriclim1 Apr 23, 2026
15bdcd4
Revamped model_base.py to cover type-hinting stuff. KPlanes has a set…
cedriclim1 Apr 23, 2026
0c71a5d
Final changes prior to draft PR
cedriclim1 Apr 23, 2026
99fdd88
Fixed typo
cedriclim1 Apr 24, 2026
4a44826
Small change to set_optimizer in OptimizerMixin to allow for dictiona…
cedriclim1 Apr 24, 2026
ede9d56
Pretraining warning on ObjectTensorDecomp
cedriclim1 Apr 24, 2026
d0b6e84
Delete .vscode directory
bobleesj Apr 24, 2026
5b34b3e
Merge pull request #214 from electronmicroscopy/vscode-dir-delete
arthurmccray Apr 24, 2026
0370e29
Merge pull request #198 from darshan-mali/imaging_refactor
wwmills Apr 24, 2026
24468cc
enable branch PR CI pytest and move pull request template
bobleesj Apr 24, 2026
a656395
chore: update lock file
quantem-bot Apr 27, 2026
dc0b5f0
Doing some refactoring, adding reconstruction context to help with ty…
cedriclim1 Apr 27, 2026
01456ed
Working on ObjectPixelated implementing ctx
cedriclim1 Apr 27, 2026
a061845
Added pyrightconfig.json to gitignore, PrivateImportUsage error annoying
cedriclim1 Apr 27, 2026
23cfd72
ObjectINR implemented
cedriclim1 Apr 27, 2026
fb07d14
Claude OptimizerMixin changes to account for different optimizable pa…
cedriclim1 Apr 27, 2026
6678c43
Moved ReconContext, changed get_optimization_parameters in dataset_mo…
cedriclim1 Apr 27, 2026
acaa884
Merge pull request #217 from electronmicroscopy/chore/update-lockfile…
arthurmccray Apr 27, 2026
1553f25
Merge pull request #216 from bobleesj/add-ci-branch
arthurmccray Apr 27, 2026
9a96415
Small changes
cedriclim1 Apr 28, 2026
e444164
Merge branch 'dev' of github.com:electronmicroscopy/quantem into optm…
cedriclim1 Apr 28, 2026
1033cd6
feat: add Show2D and Show4DSTEM flagship widgets
bobleesj May 2, 2026
9c3d930
refactor: modernize type hints in widget package (PEP 604/585)
bobleesj May 2, 2026
b245948
feat: first-class Dataset2d/Dataset3d support, drop cupy, improve errors
bobleesj May 2, 2026
43b54b2
initial demo of Show2D and Show4DSTEM
bobleesj May 3, 2026
ff510f9
chore: update lock file
quantem-bot May 4, 2026
e004a23
fix: track widget/scripts/build.mjs (required for npm run build)
bobleesj May 4, 2026
e29096a
enable build mjs cli
bobleesj May 4, 2026
49c679b
perf: use WebGPU for faster fft colormap and toggle
bobleesj May 5, 2026
88bbaec
update uv lock with all deps listed for now
bobleesj May 5, 2026
ac17d2a
Merge pull request #219 from electronmicroscopy/chore/update-lockfile…
arthurmccray May 6, 2026
8ecd3c7
converting ptycho models to work with new PPLR
arthurmccray May 7, 2026
0bd5ba3
add hot pixel filtering in read 4dstem, default false
bobleesj May 7, 2026
31a0bae
update docstring, hot pixel being false by default
bobleesj May 7, 2026
a73dcc4
fix set_image
henryhng May 7, 2026
f592384
fix ruff lint errors
henryhng May 7, 2026
5b364c6
remove set_image()
henryhng May 9, 2026
eb437bf
Merge pull request #7 from henryhng/pr218
bobleesj May 9, 2026
c57d1d0
remove set_image() from Show2D
henryhng May 9, 2026
c36be76
invalidate virtual image cache on calibration change, mkdir in save_s…
henryhng May 9, 2026
5a6e8a8
lazy import torch in array_utils
henryhng May 9, 2026
f53c7c9
Merge pull request #8 from henryhng/pr218
bobleesj May 9, 2026
4988054
Merge pull request #9 from henryhng/pr218-ruff
bobleesj May 9, 2026
178006e
chore: update lock file
quantem-bot May 11, 2026
59c3ee8
Merge pull request #224 from electronmicroscopy/chore/update-lockfile…
gvarnavi May 11, 2026
47d9c50
address cedric's feedback on scan rotation
bobleesj May 11, 2026
04b048d
Merge pull request #10 from bobleesj/widget-show2d-show4dstem-init-ce…
bobleesj May 11, 2026
eb519e2
Merge pull request #218 from bobleesj/widget-show2d-show4dstem-init
cedriclim1 May 11, 2026
290d153
Merge pull request #223 from electronmicroscopy/filter-4dstemload
cedriclim1 May 12, 2026
a495a97
chore: update lock file
quantem-bot May 18, 2026
adcc26d
Created a BaseContext class - totally optional, not sure if anyone us…
cedriclim1 May 18, 2026
044f446
Merge branch 'optmixin_pplr' of github.com:electronmicroscopy/quantem…
cedriclim1 May 18, 2026
af33b96
Removed import in constraints.py
cedriclim1 May 18, 2026
03da610
PPLR description changed to multi-parameter optimization
cedriclim1 May 18, 2026
a62295c
SO3 Rotations paper citation in SO3params.py
cedriclim1 May 18, 2026
e222512
Type-hinting fix in So3params
cedriclim1 May 18, 2026
91d6056
Load parameters added .to(self.device)
cedriclim1 May 18, 2026
f37ca9f
Volume added to reconstruction context
cedriclim1 May 18, 2026
8072fa6
Citations for the kplanes models
cedriclim1 May 18, 2026
eafca0c
Explanation in object_models.py for different types of tv loss.
cedriclim1 May 18, 2026
e4c8dbe
Refactor type hinting in _unwrap function to use cast for improved ty…
cedriclim1 May 18, 2026
136a65f
Some type-hinting fix for Contexts
cedriclim1 May 18, 2026
98ddd0d
dataset4d, dataset4dstem hold torch array
bobleesj May 19, 2026
d2dc32b
bring original docstring back
bobleesj May 19, 2026
6b7319d
remove need for cached numpy array
bobleesj May 19, 2026
7f9913f
further cleaup api docstring
bobleesj May 19, 2026
9c93ae9
use _array _tensor duck typing for show4dstem
bobleesj May 19, 2026
40878d3
use row, col convention in docstring
bobleesj May 19, 2026
3834e79
Merge pull request #227 from electronmicroscopy/chore/update-lockfile…
arthurmccray May 21, 2026
21b684f
fix: tolerate missing _tensor slot on autoserialize-loaded datasets
bobleesj May 23, 2026
4be1be7
chore: update lock file
quantem-bot May 25, 2026
7645c08
Merge pull request #232 from electronmicroscopy/chore/update-lockfile…
arthurmccray May 27, 2026
d97d6a0
add TODO for numpy/torch guarding, prevent numpy copy
bobleesj May 28, 2026
990f35d
SO3Params switched to static methods.
cedriclim1 May 28, 2026
c56994a
Fixed optimizer_params using hidden variable in set_optimizer
cedriclim1 May 28, 2026
4b8ca47
Added more description to the ReconstructionContext
cedriclim1 May 28, 2026
1bc1739
Standardized optimizer params with new normalization to always output…
cedriclim1 May 28, 2026
21944c4
Standardized optimizer params with new normalization to always output…
cedriclim1 May 28, 2026
e7660f2
Merge pull request #228 from bobleesj/dataset-support-torch
arthurmccray May 28, 2026
e11e49e
Fixed some bugs with DEFAULT_OPTIMIZER_KEY not being instantiated in …
cedriclim1 May 28, 2026
b2e9e15
Working version, standardized optimizer_mixin.py
cedriclim1 May 29, 2026
bf19e60
Removed .md and .html files
cedriclim1 May 29, 2026
91642a8
Major changes per Claude's detailed report on what I actually impleme…
cedriclim1 May 29, 2026
c5f8b37
Warnings to no optimizations on PtychographyDatasetBase.
cedriclim1 May 29, 2026
18486ee
chore: update lock file
quantem-bot Jun 1, 2026
e10ae0a
Merge pull request #238 from electronmicroscopy/chore/update-lockfile…
arthurmccray Jun 1, 2026
15f22b9
fixing OptimizerParamsType refactor, and changing SchedulerParamsType…
arthurmccray Jun 1, 2026
14a1463
Tomography tests, and bug-fix on get_optimization_parameters in Tomog…
cedriclim1 Jun 1, 2026
d35c473
Merge pull request #213 from electronmicroscopy/optmixin_pplr
arthurmccray Jun 1, 2026
8260c5b
Fix latent bugs in tomography optimizer wiring, constraints, and radon
cedriclim1 Jun 1, 2026
f51cace
Merge pull request #239 from electronmicroscopy/tomography-bug-fixes
arthurmccray Jun 1, 2026
0773481
Tomography Slow/Fast Tests
cedriclim1 Jun 2, 2026
e2dba3e
Merge pull request #240 from electronmicroscopy/tomography-tests
arthurmccray Jun 2, 2026
aac7239
chore: update lock file
quantem-bot Jun 8, 2026
a3a093d
Merge pull request #242 from electronmicroscopy/chore/update-lockfile…
arthurmccray Jun 8, 2026
868fad3
chore: update lock file
quantem-bot Jun 15, 2026
4d02da1
Merge pull request #250 from electronmicroscopy/chore/update-lockfile…
gvarnavi Jun 15, 2026
03b0e00
Normalizing by the quantile now an option in Tomo Dataset
cedriclim1 Jun 18, 2026
3f92787
Fixed tomography tests
cedriclim1 Jun 18, 2026
bceccc6
Merge pull request #251 from cedriclim1/tomodataset_hotfix
cedriclim1 Jun 18, 2026
8af2492
Last shape of the tilt stack is now checked with the tilt angles rath…
cedriclim1 Jun 18, 2026
3c29c6e
Test fixes
cedriclim1 Jun 19, 2026
e00aeda
Test fixes
cedriclim1 Jun 19, 2026
24c2d35
Merge pull request #252 from cedriclim1/tomodataset_hotfix
wwmills Jun 19, 2026
1d0ca35
chore: update lock file
quantem-bot Jun 29, 2026
aa5f65a
Merge pull request #255 from electronmicroscopy/chore/update-lockfile…
arthurmccray Jun 29, 2026
076d96e
chore: update lock file
quantem-bot Jul 6, 2026
057fbd3
Merge pull request #257 from electronmicroscopy/chore/update-lockfile…
arthurmccray Jul 6, 2026
39cc13c
Remove torch.compile from INR ray helpers for Windows compatibility
cedriclim1 Jul 9, 2026
c14c7b1
Merge pull request #261 from cedriclim1/fix/windows-torch-compile-rays
gvarnavi Jul 9, 2026
17bceb7
Bump version to 0.1.9
quantem-bot Jul 9, 2026
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
16 changes: 16 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### What problem this PR addreseses

<!-- Provide a brief overview and link to the issue. Attach outputs, including screenshots (before/after), if helpful for the reviewer. -->

### What should the reviewer(s) do

<!-- Merge the code, provide feedback, initiate a discussion, etc. -->

<!--
Use the following checklist items when applicable (select only what applies):
- [ ] This PR introduces a public-facing change (e.g., figures, CLI input/output, API).
- [ ] For functional and algorithmic changes, tests are written or updated.
- [ ] Documentation (e.g., tutorials, examples, README) has been updated.
- [ ] A tracking issue or plan to update documentation exists.
- [ ] This PR affects internal functionality only (no user-facing change).
-->
8 changes: 0 additions & 8 deletions .github/workflows/check-pr-main-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ jobs:
echo "New version is greater — creating release branch"
git checkout -b release/$PR_VERSION
git push origin release/$PR_VERSION

echo "Tagging release v$PR_VERSION"
git tag -a v$PR_VERSION -m "Release v$PR_VERSION"
git push origin v$PR_VERSION
fi

elif [[ "$RESULT" -eq 0 ]]; then
Expand All @@ -108,10 +104,6 @@ jobs:
git checkout -b release/$NEXT_VERSION
git push origin release/$NEXT_VERSION

echo "Tagging release v$NEXT_VERSION"
git tag -a v$NEXT_VERSION -m "Release v$NEXT_VERSION"
git push origin v$NEXT_VERSION

PR_BODY=$(printf "This PR was automatically created because the submitted version \`%s\` matched the current release on \`main\`.\n\nIt bumps the patch version to \`%s\` and starts a new release process." "$PR_VERSION" "$NEXT_VERSION")
gh pr create \
--repo "$REPO" \
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: write

jobs:
uv-deploy:
name: deploy
Expand All @@ -14,15 +17,41 @@ jobs:

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Verify lock file is up to date
run: uv lock --check

- name: Read version
id: version
run: |
VERSION=$(uv version --short)
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Build the project
run: uv build

- name: Create Git tag
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git tag v${{ steps.version.outputs.version }}
git push origin v${{ steps.version.outputs.version }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.version }}
name: v${{ steps.version.outputs.version }}
generate_release_notes: true
files: |
dist/*

- name: Publish to PyPi
run: uv publish
4 changes: 1 addition & 3 deletions .github/workflows/uv-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: PyTests

on:
pull_request:
branches:
- dev
- main
workflow_dispatch:

jobs:
uv-pytests:
Expand Down
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# BasedPyRight Config
pyrightconfig.json

# Ruff stuff:
.ruff_cache/

Expand All @@ -185,9 +188,24 @@ ipynb-playground/
*.h5
*.npy

# cursor
# cursor/CLI
.cursor
.claude
CLAUDE.md
AGENTS.md
AGENT.md

# widget (JS build artifacts)
node_modules/
widget/src/quantem/widget/static/

# widget — local-only (per-developer notebooks, docs scratch, build/test scripts).
# Track only src/, js/, tests/test_*.py for now.
widget/.gitignore
widget/docs/
widget/notebooks/
widget/scripts/
!widget/scripts/build.mjs
widget/tests/integration/
widget/tests/snapshots/

81 changes: 0 additions & 81 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ members = ["widget"]

[project]
name = "quantem"
version = "0.1.8"
version = "0.1.9"
description = "quantitative electron microscopy analysis toolkit."
keywords = ["EM","TEM","STEM","4DSTEM"]
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/quantem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pkgutil import extend_path

__path__ = extend_path(__path__, __name__)

from importlib.metadata import version
Expand Down
Loading
Loading