Skip to main content

------------

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magtomo-0.1.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

magtomo-0.1.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file magtomo-0.1.1.tar.gz.

File metadata

  • Download URL: magtomo-0.1.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for magtomo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1091034a5f7c96fa23a02dae1677ebdc421f677265d7b165ac0d44d5b591b833
MD5 e9cbad5854af62e2279cbf24f66747a0
BLAKE2b-256 e62fe618e480e0789cec46ad04c6c3faf750d020ec872de86c9c01887d8cd20b

See more details on using hashes here.

Provenance

The following attestation bundles were made for magtomo-0.1.1.tar.gz:

Publisher: release.yml on apseros/magtomo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file magtomo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: magtomo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for magtomo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e77f1d5447669303824621db8ae683f3286e5bef73f46b1879f20697d774e1
MD5 175f0af278e6af2fa93dae9856b5032c
BLAKE2b-256 d82e20e28bffa006a7e91c1c221c73e93bdced73adfe9080c0e4bcb073363518

See more details on using hashes here.

Provenance

The following attestation bundles were made for magtomo-0.1.1-py3-none-any.whl:

Publisher: release.yml on apseros/magtomo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page