Skip to main content

Software for the practical analysis of materials

Project description

https://gricad-gitlab.univ-grenoble-alpes.fr/ttk/spam/badges/master/build.svg https://gricad-gitlab.univ-grenoble-alpes.fr/ttk/spam/badges/master/coverage.svg

Spam is a piece of Python software built upon NumPy and SciPy for the analysis and manipulation of 3D and 2D data sets in material science, be they from x-ray tomography, random fields or any other source.

A number of common functions are provided that are either lacking or slow in Numpy and Scipy, which are expected to be used by users within new python scripts. These functions are in the tools/ directory, and include tools to work with random fields, morphological operations, digital image correlation, and labelled images. Some of spam’s functions transparently call C/C++ functions for speed.

Some user-callable scipts are also provided – they are more complex pieces of code that combine a number of functions and which have a command-line interface. For the moment the clients are 3 different image correlation techniques.

Please have a look at our online documentation for:

If you find bugs, need help, or want to talk to the developers, we use a riot/matrix.org chat room for organisation, please join it here and come and talk to us – it is easy, there is a chat client that can run in your web broswer. All you need to do is choose a user name!

Changelog

Version 0.4.3

2020-01-16

Various fixes to graphical clients (able to save TSV from spam-mmr-graphical and do a last, precise run with spam-mmr). Improvement to triangulation (now with CGAL alpha shapes) and discrete strain calculator (tested results)

Version 0.4.2

2019-09-25

spam-mmr-graphical now working, improvements in spam-mmr

Version 0.4.1

2019-09-13

spam-mmr-graphical now not crashing (c-python type error). Various bugfixes in clients. spam-ITKwatershed now accepts markers

Version 0.4.0

2019-07-18

c++ now bound with pybind11. New graphical script spam-mmr-graphical for multi-modal registration. New graphical script spam-ereg for eye (manual) registration. Python3 upgrade recommended for all users

Version 0.3.3.1

2019-05-27

Binning 2^31 fix, remove lines for immediate prints that are not py3 compatible. First version with CGAL triangulation

Version 0.3.2.1

2019-05-14

Update pip documentation and changelog

Version 0.3.2

2019-04-30

Fix segfault with images larger than 2^31 voxels, and output both subtracted and original fields in spam-ldic

Version 0.3.1

2019-04-08

Fix a number of forgotten spam.DIC.transformationOperator functions

Version 0.3.0

2019-03-28

Consistent naming in DIC: Phi is 4x4 homogeneous deformation function and F is its internal 3x3 displacement gradient

Version 0.3.0

2019-03-28

Consistent naming in DIC: Phi is 4x4 homogeneous deformation function and F is its internal 3x3 displacement gradient

Version 0.2.2.2

2019-03-21

First version on pip with complete dependencies. This version of spam runs fully in a venv with pip install spam

Version 0.2.2.1

2019-03-20

Pull in requirements.txt into setup.py automatically. This aligns the build from git with the build from pip

Version 0.2.2

2019-02-21

Approximate python3 compatibility

Version 0.2.1

2019-02-18

Add PyPI documentation to pip in RST

Version 0.2.0

2019-02-18

Add PyPI documentation to README.rst to appear on pip. Note that the build status and coverage badges won’t appear until access to gitlab is opened

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

spam-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

spam-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

spam-0.4.3-cp35-cp35m-manylinux2010_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

spam-0.4.3-cp27-cp27mu-manylinux2010_x86_64.whl (22.8 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

spam-0.4.3-cp27-cp27m-manylinux2010_x86_64.whl (22.8 MB view details)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

File details

Details for the file spam-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: spam-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 23.2 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for spam-0.4.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f63a4bf6488a994eda813a0b667c92384ba260b6a82b6ff595ed772887469818
MD5 0270f003b60cea67b5296d498bb3f15e
BLAKE2b-256 3a9ab2a3bf973e7757380d9bd2f39837bfb98e44a38e971117287097f7731e6e

See more details on using hashes here.

File details

Details for the file spam-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: spam-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 23.1 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for spam-0.4.3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 88f0cf095e1afc93df3c7a30835e5b7f0747d2715bef5b832ff4c02b85328369
MD5 b770fc8194fe08864408dd71e2599a68
BLAKE2b-256 e7f92e43aca69100c5bd0d544f4b43f68323b8355e2b403d10e623b52498760d

See more details on using hashes here.

File details

Details for the file spam-0.4.3-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: spam-0.4.3-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 23.1 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for spam-0.4.3-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0b433326c6e454afb09a58eb0d1a8de97f909f144612cee4b52cb24c09ee3b79
MD5 e728c64f637671bcc6ff5fb946f61591
BLAKE2b-256 263094532a625543efd201e189bcb64a2fa64b8e0597714b3dfac600a068a3f4

See more details on using hashes here.

File details

Details for the file spam-0.4.3-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: spam-0.4.3-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 22.8 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for spam-0.4.3-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 dca2b25ae528720e42e0ca692eb4f15b16283e4b3dd5960198cb77eb7d8c6042
MD5 3efc93804a2044f30e941e8898648ba5
BLAKE2b-256 91e97cc594246fe8fd140cf511d164fb4c0b7d6e96c30f6e27cbbc0be4c524f2

See more details on using hashes here.

File details

Details for the file spam-0.4.3-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: spam-0.4.3-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 22.8 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for spam-0.4.3-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0676a509569b892d425e973bc545a9cd2e081a9fec1ef4442c436a9afc40b993
MD5 51e9b1e3620ba3b1087420697efaa0cd
BLAKE2b-256 a77ca963054bc37260c96f11d2fccc4024c14f05c5e2d6fbf53deebf9a2adecb

See more details on using hashes here.

Supported by

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