Software for the practical analysis of materials
Project description
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:
And a number of detailed tutorials
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 |
Date |
Notes |
---|---|---|
Version 0.5.1.2 |
2020-04-20 |
Fix and test for large initial guesses in register(), spam-mmr-graphical revived |
Version 0.5.1.1 |
2020-04-08 |
Fix for running spam-ldic for pixel search |
Version 0.5.1 |
2020-04-07 |
Fix for running spam-ddic with mpi, implementation of S. Brisard’s Directional Erosion |
Version 0.5.0 |
2020-03-27 |
Big rename of scripts, functions, variables, parameters, with some backwards compatibility in TSV file reading. Some examples:
New framework for the calculation of strains, where the computation of F is separated from its decomposition. Output fields from correlation with prefixes “SubPix” and “SubPixel” become prefixless In TSV outputs from correlation the components like “F12” are now called “Fzy” |
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 working (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
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 Distributions
Built Distributions
File details
Details for the file spam-0.5.1.2-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: spam-0.5.1.2-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 23.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65bde65d70c0a09f240d18d0ff9858d0550717ae3a1ee0e3494a35cac4968a45 |
|
MD5 | 5bb2c88b28d1dc3f474a1e4ba83811f2 |
|
BLAKE2b-256 | 04411533c9aa16a7a632b8045e1036e0776fabecfe3606657ff3510edd246a1e |
File details
Details for the file spam-0.5.1.2-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: spam-0.5.1.2-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 23.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 523d6cd93e6043113d3ab57d4583245ca6d77db5560719383bf6ce088f999d41 |
|
MD5 | 6567528c3eec0eee28afd0f9b9812a3f |
|
BLAKE2b-256 | 65cb97b178976a3b917d9502a3f3a0a68e9af72619964fd92e993c7aecd64d5d |
File details
Details for the file spam-0.5.1.2-cp35-cp35m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: spam-0.5.1.2-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 23.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff12d9cf5846255985dc96c9af4d738678dd5a735d47f1263dd917e1109e6434 |
|
MD5 | b86370bc42fed0ca1e55c48dc78aa257 |
|
BLAKE2b-256 | 7c7dc50167a572e3e25a0816d0f8b69469e10f5afee955fa8756dc8a158bd233 |
File details
Details for the file spam-0.5.1.2-cp27-cp27mu-manylinux2010_x86_64.whl
.
File metadata
- Download URL: spam-0.5.1.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d51a01f101978aa37b91c010b89aca2ada651997833974c93781a518e1270f9 |
|
MD5 | 52e0688c159bce66b5cc34d677602618 |
|
BLAKE2b-256 | 8dea73e865f45a2d4d890e19508c6f132fbb506ba43e3849f32eb1b15366df2b |
File details
Details for the file spam-0.5.1.2-cp27-cp27m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: spam-0.5.1.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa334ea78252f35cdd94847bc85c706ed9ad23b0b632f2af8f3c50e00b26b80 |
|
MD5 | fcab8d771d566d835f0c599f55e508b9 |
|
BLAKE2b-256 | d2ad925c8c4fa8978876f0bae2cd636ba1dc4ac60dc675a275a9e0960c5e73e8 |