SQUID-on-tip current imaging forward and inverse modeling
Project description
SOTtools
⚠️ SOTtools is under development — API may change between minor versions, and old code may break.
SQUID based microscopy (SOT, scanning SQUID) is a powerful tool for locally imaging current distributions by mapping their magnetic fields. Interpreting these maps, however, is difficult: the SQUID singles out one particular component of the magnetic field, and inverting these maps is a difficult task.
SOTtools is a toolkit for modeling and inverting SOT measurements. It contains:
- A set of tools for generating FEM meshes and simulating current distributions on these meshes
- Tools to compute SQUID maps from current distributions
- Tools to invert SQUID maps back to current distributions
The unique feature of SOTtools is that it is sample-aware: it natively takes into account 1D and 2D sample boundaries and confines all currents to the sample.
These inversions are possible only because the forward models are implemented fully in PyTorch, which allows for autodifferentiation. The user API, however, is fully in NumPy, the standard in scientific Python.
SOTtools is still under development and contributions are welcome.
Install
SOTtools is available on PyPI and can be installed with pip:
pip install sottools
If GPU acceleration is desired, install the PyTorch version with CUDA support first, then install SOTtools.
For easier usage with Jupyter notebooks, install the optional dependencies:
pip install sottools[jupyter]
Documentation
Documentation is available at sottools.readthedocs.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sottools-0.1.2.tar.gz.
File metadata
- Download URL: sottools-0.1.2.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
715615fa5dd7b20b5d2f649e9da2f852e03c2d7490f55901a3d058bfc8d6fc75
|
|
| MD5 |
b74bc2a5cc80e39fb20b2f809a950f8b
|
|
| BLAKE2b-256 |
0164cc29683a4e3bdd37752996e00f3ed2324ddcb6cf9d0006aacebbfed9f383
|
Provenance
The following attestation bundles were made for sottools-0.1.2.tar.gz:
Publisher:
publish.yml on MatthijsRog/sottools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sottools-0.1.2.tar.gz -
Subject digest:
715615fa5dd7b20b5d2f649e9da2f852e03c2d7490f55901a3d058bfc8d6fc75 - Sigstore transparency entry: 2138570904
- Sigstore integration time:
-
Permalink:
MatthijsRog/sottools@977b8aba942acb37916ceb4fbc1e09d11d11379f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MatthijsRog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@977b8aba942acb37916ceb4fbc1e09d11d11379f -
Trigger Event:
release
-
Statement type:
File details
Details for the file sottools-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sottools-0.1.2-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fff68d6ad92dc5ecd43d49164dc2ca3967a6d12546b8b1cf2365cc6a595ad152
|
|
| MD5 |
e5bcf98cd43640f2a7b499ec0abfb0d5
|
|
| BLAKE2b-256 |
5e67afb5ad3d2b0e62973131b442c93ab824c8a32399faded9bdeac09aedf5de
|
Provenance
The following attestation bundles were made for sottools-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on MatthijsRog/sottools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sottools-0.1.2-py3-none-any.whl -
Subject digest:
fff68d6ad92dc5ecd43d49164dc2ca3967a6d12546b8b1cf2365cc6a595ad152 - Sigstore transparency entry: 2138570918
- Sigstore integration time:
-
Permalink:
MatthijsRog/sottools@977b8aba942acb37916ceb4fbc1e09d11d11379f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MatthijsRog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@977b8aba942acb37916ceb4fbc1e09d11d11379f -
Trigger Event:
release
-
Statement type: