Skip to main content

magtomo is a python package for performing scalar, vector and orientation tomography.

Installation

magtomo can be installed through pip:

(.venv)$ pip install magtomo

Examples

Examples of scalar, vector and orientation reconstructions can be found in the magtomo.examples() module. To simulate the process, projections are first calculated

# scalar structure projections
projections = radon(struct, angles)
# vector or orientation field projections
exp = Experiment(magnetization=struct, rotations=rot, pol=pol)
exp.calculate_sinogram()
projections = exp.sinogram

the projections are then used as input for the reconstruction process

# inverse of scalar projections
recons = inv_radon(projections, angles)
# reconstruction from vector or orientation projections
rec = Reconstruction(initial_guess, rotations=rot, projections=projections,
                     pol=pol, mask=mask)
rec.reconstruct()
recons = rec.magnetization

Documentation

Comprehensive documentation is available online at readthedocs.

Metadata

Release files for magtomo 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magtomo 0.1.1
File Size Uploaded Provenance
magtomo-0.1.1.tar.gz 11.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for magtomo 0.1.1
File Interpreter ABI Platform
magtomo-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / magtomo-0.1.1.tar.gz

Download URL magtomo-0.1.1.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1091034a5f7c96fa23a02dae1677ebdc421f677265d7b165ac0d44d5b591b833
BLAKE2b-256 checksum
How to use checksums
e62fe618e480e0789cec46ad04c6c3faf750d020ec872de86c9c01887d8cd20b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2025.

Transparency log

Release files / magtomo-0.1.1-py3-none-any.whl

Download URL magtomo-0.1.1-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4e77f1d5447669303824621db8ae683f3286e5bef73f46b1879f20697d774e1
BLAKE2b-256 checksum
How to use checksums
d82e20e28bffa006a7e91c1c221c73e93bdced73adfe9080c0e4bcb073363518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2025.

Transparency log

Security for magtomo 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for magtomo-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page