원시데이터 수집 시스템
선정목록으로

spam: Software for Practical Analysis of Materials

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Stamati, Olga — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  2. Andò, Edward — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  3. Roubin, Emmanuel — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  4. Cailletaud, Rémi — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France -- Univ. Grenoble Alpes, CNRS, INRAE, IRD, Météo France, OSUG, 38000 Grenoble, France
  5. Wiebicke, Max — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France -- Institute of Geotechnical Engineering, Technische Universität Dresden, D-01062 Dresden, Germany
  6. Pinzon, Gustavo — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  7. Couture, Cyrille — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  8. Hurley, Ryan C. — Johns Hopkins University, Baltimore, MD 21218, USA
  9. Caulk, Robert — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  10. Caillerie, Denis — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  11. Matsushima, Takashi — Department of Engineering Mechanics and Energy, University of Tsukuba, Tsukuba, Japan
  12. Bésuelle, Pierre — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  13. Bertoni, Félix — Univ. Grenoble Alpes, IUT2, 38000 Grenoble, France
  14. Arnaud, Tom — Univ. Grenoble Alpes, IUT2, 38000 Grenoble, France
  15. Ortega Laborin, Alejandro — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  16. Rorato, Riccardo — Universitat Politécnica de Catalunya (UPC), Barcelona (Spain) - Department of Civil and Environmental Engineering
  17. Sun, Yue — Univ. Lille, CNRS, Centrale Lille, UMR 9013 - LaMcube - Laboratoire de Mécanique, Multiphysique, Multiéchelle, F-59000 Lille, France
  18. Tengattini, Alessandro — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France -- Institut Laue-Langevin (ILL), Grenoble, France
  19. Okubadejo, Olumide — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  20. Colliat, Jean-Baptiste — Univ. Lille, CNRS, Centrale Lille, UMR 9013 - LaMcube - Laboratoire de Mécanique, Multiphysique, Multiéchelle, F-59000 Lille, France
  21. Saadatfar, Mohammad — Australian National University, Canberra, Australia
  22. Garcia, Fernando E. — Division of Engineering & Applied Science, California Institute of Technology, Pasadena, CA 91125, USA
  23. Papazoglou' Christos — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  24. Vego, Ilija — Univ. Grenoble Alpes, CNRS, Grenoble INP, Grenoble, France
  25. Brisard, Sébastien — Université Gustave Eiffel, Laboratoire Navier, ENPC, IFSTTAR, CNRS UMR 8205, Marne-la-Vallée, F-77455, France
  26. Dijkstra, Jelke — Department of Architecture and Civil Engineering, Chalmers University of Technology, SE-412 96 Gothenburg, Sweden
  27. Birmpilis, Georgios — Department of Architecture and Civil Engineering, Chalmers University of Technology, SE-412 96 Gothenburg, Sweden
DOI
105281zenodo3940301
저널
Zenodo (CERN European Organization for Nuclear Research)
발행년도
2020
발행기관
European Organization for Nuclear Research
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5281/zenodo.3940301
토픽
Composite Material Mechanics
OpenAlex ID
W6912369857

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Spam, the Software for the Practical Analysis of Materials is a Python library that has evolved to cover needs of data analysis from 3D x-ray tomography work and correlated random fields with mechanical applications.<br> Spam is first and foremost a measurement package that extends the extremely convenient framework of NumPy and SciPy by providing or accelerating tools for the material- science/mechanics oriented analysis of 2D images or 3D volumes representing field measurements.<br> Typical uses are either the measurement of displacements fields between images of a deforming sample from which strains can be computed, or the characterisation of a particular microstructure (correlation length or particle orientation).<br> The package is organised into a library of Python tools which are expected to be used in user-written scripts and a number of more sophisticated standalone scripts.<br> <br> Please see the online documentation.<br> <br> Spam is developed on a git repository hosted at Université Grenoble Alpes. This deposit is the version 0.5.2 that was reviewed and accepted on the Journal of Open Source Software

본문 36,572자

본문 펼치기
# spam : Software for Practical Analysis of Materials Olga Stamati <sup>1</sup> , Edward Andò <sup>1</sup> , Emmanuel Roubin <sup>1</sup> , Rémi Cailletaud <sup>1,</sup> <sup>2</sup> , Max Wiebicke <sup>1,</sup> <sup>3</sup> , Gustavo Pinzon <sup>1</sup> , Cyrille Couture <sup>1</sup> , Ryan C. Hurley <sup>4</sup> , Robert Caulk <sup>1</sup> , Denis Caillerie <sup>1</sup> , Takashi Matsushima <sup>5</sup> , Pierre Bésuelle <sup>1</sup> , Félix Bertoni <sup>6</sup> , Tom Arnaud <sup>6</sup> , Alejandro Ortega Laborin <sup>1</sup> , Riccardo Rorato <sup>7</sup> , Yue Sun <sup>8</sup> , Alessandro Tengattini <sup>1,</sup> <sup>9</sup> , Olumide Okubadejo <sup>1</sup> , Jean-Baptiste Colliat <sup>8</sup> , Mohammad Saadatfar <sup>10</sup> , Fernando E. Garcia <sup>11</sup> , Christos Papazoglou <sup>1</sup> , Ilija Vego <sup>1</sup> , Sébastien Brisard <sup>12</sup> , Jelke Dijkstra <sup>13</sup> , and Georgios Birmpilis <sup>13</sup> 1 Univ. Grenoble Alpes, CNRS, Grenoble INP, 3SR, F-38000 Grenoble, France 2 Univ. Grenoble Alpes, CNRS, INRAE, IRD, Météo France, OSUG, 38000 Grenoble, France 3 Institute of Geotechnical Engineering, Technische Universität Dresden, D-01062 Dresden, Germany 4 Johns Hopkins University, Baltimore, MD 21218, USA 5 Department of Engineering Mechanics and Energy, University of Tsukuba, Tsukuba, Japan 6 Univ. Grenoble Alpes, IUT2, 38000 Grenoble, France 7 Universitat Politécnica de Catalunya (UPC), Barcelona (Spain) - Department of Civil and Environmental Engineering 8 Univ. Lille, CNRS, Centrale Lille, UMR 9013 - LaMcube - Laboratoire de Mécanique, Multiphysique, Multiéchelle, F-59000 Lille, France 9 Institut Laue-Langevin (ILL), Grenoble, France 10 Australian National University, Canberra, Australia 11 Division of Engineering & Applied Science, California Institute of Technology, Pasadena, CA 91125, USA 12 Université Gustave Eiffel, Laboratoire Navier, ENPC, IFSTTAR, CNRS UMR 8205, Marne-la-Vallée, F-77455, France 13 Department of Architecture and Civil Engineering, Chalmers University of Technology, SE-412 96 Gothenburg, Sweden DOI: [10.21105/joss.02286](https://doi.org/10.21105/joss.02286) Software - [Review](https://github.com/openjournals/joss-reviews/issues/2286) - [Repository](https://gricad-gitlab.univ-grenoble-alpes.fr/ttk/spam/) - [Archive](https://doi.org/10.5281/zenodo.3940302) Editor: Bruce [E.](https://www.ornl.gov/staff-profile/bruce-e-wilson) Wilson Reviewers: - [@Shuang-Plum](https://github.com/Shuang-Plum) - [@jwbuurlage](https://github.com/jwbuurlage) Submitted: 20 May 2020 Published: 13 July 2020 License Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC [BY](http://creativecommons.org/licenses/by/4.0/) 4.0). ## Statement of need Advanced experimental materials science is entering a new era thanks to the performance and availability of tomography allowing full-3D studies, and often 3D-timeseries. However in the analysis of these advanced measurements, the attractiveness of closed-source and black-box solutions to 3D measurement problems seems to be precipitating a reproducibility crisis in this domain. A radically open approach to measurement science with the disclosure of analysis tools will allow validation and verification of tools and results, rendering the whole chain more robust. Furthermore, the hope is that there is a community-driven improvement of the tools with time. ## Summary Spam, the Software for the Practical Analysis of Materials is a Python library that has evolved to cover needs of data analysis from 3D x-ray tomography work and correlated random fields with mechanical applications. Spam is first and foremost a measurement package that extends the extremely convenient framework of NumPy (Van der Walt, Colbert, & Varoquaux, 2011) and SciPy (Virtanen et al., 2020) by providing or accelerating tools for the materialscience/mechanics oriented analysis of 2D images or 3D volumes representing field measurements. Typical uses are either the measurement of displacements fields between images of a deforming sample from which strains can be computed, or the characterisation of a particular microstructure (correlation length or particle orientation). The package is organised into a Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 1 [21105/joss.02286](https://doi.org/10.21105/joss.02286) library of Python tools which are expected to be used in user-written scripts and a number of more sophisticated standalone scripts. The tools are organised as follows: - `DIC` : toolkit for Digital Image/Volume Correlation. This toolkit provides tools to measure the deformation between two images/volumes. A robust registration tool based on the same-modality version of Tudisco, Jailin, et al. (2017) is provided, as well as some cutting edge tools such as multi-modal registration that implements Roubin, Andò, & Roux (2019). A version of Global-DVC as per Mendoza, Neggers, Hild, & Roux (2019) is in the process of being developed. The `DIC` toolkit is presented in the [introduction,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) [discussed in detail in tutorials covering theory, practice and discrete DIC, and illustrated](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-02a-DIC-theory.html) in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `deformation` : toolkit for manipulating deformation functions called Φ (expressed in homogeneous coordinates), as well as the more usual in continuum mechanics transformation gradient tensor _F_ . Tools are also provided to compute fields of _F_ from a displacement field measured on a regular grid (coming from a “local” correlation for example), either using square/cubic finite element shape functions, or the method proposed in Geers, De Borst, & Brekelmans (1996). For a displacement field on an irregular grid (for example defined at particle centres coming from a “discrete” correlation), a Delaunay triangulation based method (Bagi & others, 1996; Catalano, Chareyre, & Barthélémy, 2014; Zhang & Regueiro, 2015) is implemented. Both finite (large) strain and infinitesimal (small) strain frameworks are implemented for both regular and irregular grids. The `deformation` toolkit is presented (together with `DIC` [) in the introduction,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) discussed in detail in the continuum [mechanics](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-00-refreshments.html) refresher, the start of DIC [theory](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-02a-DIC-theory.html) and strain [tutorial,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-07-strain.html) and is used throughout the DIC examples (see above) - `excursions` : toolkit for the excursion set of correlated random fields theory (Adler, 2008). It includes functions that give the analytical predictions of the global descriptors (or Lipschitz-Killing curvatures) of excursions in spaces of arbitrary dimensions (Roubin & Colliat, 2016; Roubin et al., 2015a) along with the generation of correlated random fields using `RandomFields` in R through `rpy2` (Gautier, 2020; R Core Team, 2018; Schlather, Malinowski, Menck, Oesting, & Strokorb, 2015). The `excursions` toolkit is illustrated in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `filters` : toolkit of 3D filters that provide some functionality missing in `scipy.ndimag` `e.filters` such as the computation of a local hessian, or functions which are slow. For example, for the computation of a local variance, the spam-provided function is more than 100 times faster than using the generic filter with variance in `scipy.ndimage` . The `filters` toolkit is used in the [projection](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-06-projection.html) tutorial, and illustrated [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `helpers` : toolkit of internal helper functions such as the parsers for the scripts, as well as tools for reading and writing TSV and VTK files. The latter partially uses `meshio` (Schlömer et al., 2020) - `kalisphera` : wrapper for C++ version of `kalisphera` (Tengattini & Andò, 2015) which generates analytically-correct partial-volume spheres which are useful for testing discrete analysis code (see `label` below). The `kalisphera` toolkit is presented in the [introduction,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) is used in the [contacts](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-08-contacts.html) tutorial, and is illustrated in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `label` : toolkit to measure and manipulate “labelled” images, where discrete particles are labelled with integer voxel patches. The computation of standard quantities such as the volume, centre of mass, and moment of inertia tensor of each particle can be done very conveniently and somewhat faster and with a smaller memory footprint than what is available in `scipy.ndimage` . An estimation of an ellipse fitting of each particle is implemented with the algorithm from Ikeda, Nakano, & Nakashima (2000). Tools for characterising inter-particle contacts based on the work of Wiebicke, Andò, Herle, & Viggiani (2017). A wrapper for ITK’s morphological watershed (Beare & Lehmann, Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 2 [21105/joss.02286](https://doi.org/10.21105/joss.02286) 2006; Schroeder, Ng, & Cates, 2003) is also provided. The `label` toolkit is presented in the [introduction,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) discussed in detail in tutorials covering the [base](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-03-labelToolkit.html) toolkit and [contacts,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-08-contacts.html) and illustrated in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `measurements` : toolkit implementing the measurement of covariance, porosity and global descriptors (volume, perimeter, surface area, and Euler characteristic). The `mea` `surements` toolkit is used in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `mesh` : toolkit for the creation or manipulation of meshes - in `spam` tetrahedral meshes are principally used. Meshers based on Gmsh (Geuzaine & Remacle, 2009) are used through `pygmsh` and weighted Delaunay triangulation (Laguerre triangulation) is provided through an interface with CGAL (The CGAL Project, 2020) – alpha-shapes are also implemented to help clean up badly-shaped tetrahedra. In addition, a set of projection functions creates meshes able to represent heterogeneities (phases and interfaces of a given meso/micro structure) based on binary or trinary images or continuous fields (level set) with outputs easily convertible to any FE software (Roubin et al., 2015b; Stamati, Roubin, Andò, & Malecot, 2019). The `mesh` toolkit is presented in the [introduction,](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) at the heart of the [projection](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-06-projection.html) tutorial, and illustrated in the [examples](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/spam_examples/index.html) gallery - `plotting` : toolkit of plotting tools based on `matplotlib` (Hunter, 2007) for creating complex plots such as a 3D orientation plot. The `plotting` toolkit is presented in the [introduction](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/intro.html) and used throughout tutorials and examples - `visual` : toolkit of graphical helper functions for scripts A number of scripts are available to be called from the command line. Currently, the most-used scripts are related to image correlation: - `spam-ldic` and `spam-regularStrain` : A “local” image correlation script, working for series of greyscale 2D or 3D images where kinematics are measured on independent points spread on a regular grid, accompanied by a strain computation script. `spam-ldic` is presented in the [scripts](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/scripts.html) page and is the subject of the DIC [practice.](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-02b-DIC-practice.html) `spam-regular` `Strain` is presented in the [scripts](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/scripts.html) page and is used in the strain [tutorial](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-07-strain.html) - `spam-ddic` and `spam-discreteStrain` : A “discrete” image correlation script (Andò, Hall, Viggiani, Desrues, & Bésuelle, 2012; Hall et al., 2010), working on greyscale 3D images plus a “labelled” image of the reference configuration. This script also has its own strain calculation based on a triangulation of grain centres. `spam-ddic` is presented in the [scripts](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/scripts.html) page and is the subject of the discrete [DIC](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/tutorial-04-discreteDIC.html) tutorial - `spam-gdic` (in beta test): A “global” image correlation script, where the displacement field between two 3D images is computed as a global problem expressed on a tetrahedral mesh - `spam-mmr` and `spam-mmr-graphical` : A pair of “multi-modal registration” scripts (command-line and graphical) allowing 3D images of different modalities ( _e.g._, a neutron tomography and an x-ray tomography of the same sample) to be registered ( _i.e._, aligned) ## Technical details Spam is based on simple Python data types, avoiding complex data structures, and all functions have a reasonable and safe set of default parameters, with required parameters kept to a minimum. Spam has a number of different use cases: Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 3 [21105/joss.02286](https://doi.org/10.21105/joss.02286) - Interactive use, such as in iPython or Jupyter. Many outputs from 3D analysis in materials science are highly sensitive to the parameters used, encouraging a “live” exploration of optimal settings - Embedded use, such as importing in user-written Python scripts - Standalone use, particularly of the more complex `spam-` scripts. These chain together a number of functions and are intended to be called from a command line, and produce output as live plots, or files saved to disk Given the large data volumes often encountered in 3D analysis, critical parts of the code are written in C/C++ wrapped with appropriate Python calling functions which are responsible for checking input sanity. The current wrapping method is with pybind11 (Jakob, Rhinelander, & Moldovan, 2017). Building on the large number of functions already available in NumPy (Van der Walt et al., 2011), SciPy (Virtanen et al., 2020), scikit-image (Van der Walt et al., 2014) and making use of tif f le (Gohlke, 2020) and meshio (Schlömer et al., 2020), the spam project adds a large amount of functionality, which means that a number of advanced forms of data analysis can be chained together in ways that are otherwise complex, requiring the combination of many different tools. Spam uses `unittest` to check each commit with a coverage of more than 90% of lines of code covered as of June 2020. Details of [the](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/coverage/) coverage are available on the GitLab repository. ## Online documentation The documentation for this project is available online at this address: [https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/index.html](https://ttk.gricad-pages.univ-grenoble-alpes.fr/spam/index.html) There are three main components to the documentation: - The module index is built automatically by `sphinx`, and function headers are written in such a way (following the NumPy norm) that a brief description appears in the module index - A “Gallery of Examples” using `sphinx-gallery` where downloadable Python scripts or Jupyter notebooks are executed during the compilation of the documentation and whose results are visible - A series of “Tutorials” with longer and more detailed explanations are available, which cover the mathematical/mechanics background of the functions provided, and some longer examples of using the provided tools ## State of the field Other software packages exist for material science analysis, such as the popular commercial software Avizo, which is closed-source, cannot be inspected, and therefore has limited trust. Other open-source packages include ITK (Schroeder et al., 2003), which is a quite complex ecosystem, and ImageJ/Fiji (Rueden et al., 2017), which is not fully 3D and not well-suited to scripting or running remotely. All of the above have some version of the `label` toolkit which allows discrete objects to be characterised as well as some parts of the `measurements` toolkit. Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 4 [21105/joss.02286](https://doi.org/10.21105/joss.02286) On the specific topic of Digital Image/Volume Correlation, many pieces of software are available for 2D, surface and 3D image correlation. The `spam.DIC.register` correlation engine uses a well-known mathematical framework dating back to (Lucas & Kanade, 1981), but distinguishes itself by being non-rigid, 2/3D compatible, clearly documented and relatively fast. The discrete and multimodal image correlation are much less common. A number of other image correlation codes exist (this is really not an exhaustive list): - CMV and CMV_3D: Developed at Laboratoire Navier (Bornert et al., 2004), local and non-rigid code allowing discrete DVC used in Hall et al. (2010) - Correlli: Developed by LMT Cachan, shared with colleagues but not open source (Hild & Roux, 2008). Contains a cutting edge integrated DVC global approach - FIDVC and qDIC: Open source code 2D running on Matlab (Bar-Kochba, Toyjanova, Andrews, Kim, & Franck, 2014; Landauer, Patel, Henann, & Franck, 2018) from The Franck Lab which is suitable for measuring large transformations - TomoWarp2: Developed by some of the co-authors (Tudisco et al., 2017). This software has a graphical interface for facilitating correlation but is technically limited to displacements/rotations, and has a slow line-search in rotation space - muDIC: Pure Python toolkit, limited to 2D images (Olufsen, Andersen, & Fagerholt, 2020) but has a fully function global approach - UFreckles: Graphical Matlab code (Rethoré, 2018) working on 2D, surface and 3D images with a global approach - StrainMaster: Closed-source software for surface and 3D image correlation from LaVision - VIC3D: High-speed closed-source software for surface imaging from Correlated Solutions ## Getting spam `spam` is available for Linux users with Python 3 as a PyPI package installed via `pip` . Developers or curious users are encouraged to clone the Git [repository.](https://gricad-gitlab.univ-grenoble-alpes.fr/ttk/spam) Solid build instructions exist for Debian-based environments (in principle any GNU/Linux distribution should work) and for some versions of OSX. Compilation for Windows has not been attempted given the large number of dependencies. However, users have been able to get `spam` to work using Ubuntu in the Windows Subsystem for Linux (WSL). ## Use in existing work Spam has already enabled research progress on a number of fronts, resulting in the following publications: - Roubin & Colliat (2016): Use of `excursions` toolkit to predict percolation threshold in n-dimensional Euclidean spaces (Figures 1 and 2) - Stamati, Roubin, Andò, & Malecot (2018): Use of `filters` toolkit to identify aggregates in concrete (Figure 5) - Stamati et al. (2019): Use of `spam-ldic` and `spam-ddic` scripts to measure deformation in a concrete sample subjected to a tension test (Figure 8) and `mesh` projection functions to conduct the FE analysis (Figure 2) Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 5 [21105/joss.02286](https://doi.org/10.21105/joss.02286) - Stavropoulou et al. (2019): Use of `spam-ldic` script to measure deformation of a claystone (Figures 10 and 11) - Wiebicke, Andò, Šmilauer, Herle, & Viggiani (2019): Use of `kalisphera` (Figure 5) and `label` toolkits to benchmark sand-grain contact measurements (Figure 8 and others), provides an example script - Andò, Dijkstra, Roubin, Dano, & Boller (2019): Use of `spam-ddic` script and the `label` toolkit to measure small displacements in a creep test on sand, see Figure 4 - Roubin et al. (2019): Application of Multi Modal Registration to concrete (Figure 4 onwards) - Hurley & Pagan (2019): Use of `deformation` toolkit to measure deformation in concrete (strain in Figure 2b) - Wiebicke, Andò, Viggiani, & Herle (2020): Use of `label` toolkit for the analysis of interparticle contacts (Figure 1) as well as the `plotting` toolkit to plot the distribution of orientations (Figures 7 and 8) - Stavropoulou et al. (2020): Use of `spam-mmr` and `spam-gdic` scripts (Figures 2, 3, 4 and Figure 7 respectively), and the `mesh` toolkit to measure water absorption in claystone (Figures 8 and 9) ## Acknowledgements We would like to acknowledge: - Cino Viggiani, Jacques Desrues, and Bruno Chareyre in Laboratoire 3SR, Grenoble - Stéphane Roux and François Hild in LMT Cachan - Emmanuelle Gouillard in Saint Gobain/CNRS and Plotly - Jose Luis Cercos-Pita at the ESRF and Uppsala University for discussions that have contributed to getting spam into its current form. ## References Adler, R. (2008). Some new random field tools for spatial analysis. _Stochastic Environmental_ _Research_ _and_ _Risk_ _Assessment_, _22_ (6), 809–822. [doi:10.1007/s00477-008-0242-6](https://doi.org/10.1007/s00477-008-0242-6) Andò, E., Dijkstra, J., Roubin, E., Dano, C., & Boller, E. (2019). A peek into the origin of creep in sand. _Granular_ _matter_, _21_ (1), 11. [doi:10.1007/s10035-018-0863-5](https://doi.org/10.1007/s10035-018-0863-5) Andò, E., Hall, S., Viggiani, G., Desrues, J., & Bésuelle, P. (2012). Experimental microme chanics: Grain-scale observation of sand deformation. _Géotechnique_ _Letters_, _2_ (3), 107– 112. [doi:10.1680/geolett.12.00027](https://doi.org/10.1680/geolett.12.00027) Bagi, K., & others. (1996). Stress and strain in granular assemblies. _Mechanics_ _of_ _materials_, _22_ (3), 165–178. [doi:10.1016/0167-6636(95)00044-5](https://doi.org/10.1016/0167-6636%0x2895%0x2900044-5) Bar-Kochba, E., Toyjanova, J., Andrews, E., Kim, K.-S., & Franck, C. (2014). A fast iterative digital volume correlation algorithm for large deformations. _Experimental Mechanics_, 1–14. [doi:10.1007/s11340-014-9874-2](https://doi.org/10.1007/s11340-014-9874-2) Beare, R., & Lehmann, G. (2006). The watershed transform in itk-discussion and new devel opments. _Insight_ _J_, _92_, 1–24. Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 6 [21105/joss.02286](https://doi.org/10.21105/joss.02286) Bornert, M., Chaix, J.-M., Doumalin, P., Dupré, J.-C., Fournel, T., Jeulin, D., Maire, E., et al. (2004). Mesure tridimensionnelle de champs cinématiques par imagerie volumique pour l’analyse des matériaux et des structures. _Instrumentation,_ _Mesure,_ _Métrologie_, _4_ (3-4), 43–88. Retrieved from [https://hal.archives-ouvertes.fr/hal-00156072](https://hal.archives-ouvertes.fr/hal-00156072) Catalano, E., Chareyre, B., & Barthélémy, E. (2014). Pore-scale modeling of fluid-particles interaction and emerging poromechanical effects. _International_ _Journal_ _for_ _Numerical_ _and_ _Analytical_ _Methods_ _in_ _Geomechanics_, _38_ (1), 51–71. [doi:10.1002/nag.2198](https://doi.org/10.1002/nag.2198) Gautier, L. (2020). Rpy2. Retrieved from [https://rpy2.github.io/doc/latest/html/index.html](https://rpy2.github.io/doc/latest/html/index.html) Geers, M., De Borst, R., & Brekelmans, W. (1996). Computing strain fields from discrete displacement fields in 2D-solids. _International_ _Journal_ _of_ _Solids_ _and_ _Structures_, _33_ (29), 4293–4307. [doi:10.1016/0020-7683(95)00240-5](https://doi.org/10.1016/0020-7683%0x2895%0x2900240-5) Geuzaine, C., & Remacle, J.-F. (2009). Gmsh: A 3-d finite element mesh generator with built-in pre-and post-processing facilities. _International_ _journal_ _for_ _numerical_ _methods_ _in_ _engineering_, _79_ (11), 1309–1331. [doi:10.1002/nme.2579](https://doi.org/10.1002/nme.2579) Gohlke, C. (2020). Tif f le. Retrieved from [https://www.lfd.uci.edu/~gohlke/code/tifffile.py.](https://www.lfd.uci.edu/~gohlke/code/tifffile.py.html) [html](https://www.lfd.uci.edu/~gohlke/code/tifffile.py.html) Hall, S. A., Bornert, M., Desrues, J., Pannier, Y., Lenoir, N., Viggiani, G., & Bésuelle, P. (2010). Discrete and continuum analysis of localised deformation in sand using x-ray _µ_ ct and volumetric digital image correlation. _Géotechnique_, _60_ (5), 315–322. [doi:10.1680/](https://doi.org/10.1680/geot.2010.60.5.315) [geot.2010.60.5.315](https://doi.org/10.1680/geot.2010.60.5.315) Hild, F., & Roux, S. (2008). CorreliQ4: A software for finite element displacement field measurements by digital image correlation. _Rapport_ _interne_ _LMT_ _Cachan_, _269_, 195. Hunter, J. D. (2007). Matplotlib: A 2D graphics environment. _Computing_ _in_ _Science_ _&_ _Engineering_, _9_ (3), 90–95. [doi:10.1109/MCSE.2007.55](https://doi.org/10.1109/MCSE.2007.55) Hurley, R., & Pagan, D. (2019). An in-situ study of stress evolution and fracture growth during compression of concrete. _International_ _Journal_ _of_ _Solids_ _and_ _Structures_, _168_, 26– 40. [doi:10.1016/j.ijsolstr.2019.03.015](https://doi.org/10.1016/j.ijsolstr.2019.03.015) Ikeda, S., Nakano, T., & Nakashima, Y. (2000). Three-dimensional study on the interconnec tion and shape of crystals in a graphic granite by x-ray ct and image analysis. De Gruyter. [doi:10.1180/002646100549760](https://doi.org/10.1180/002646100549760) Jakob, W., Rhinelander, J., & Moldovan, D. (2017). Pybind11 – seamless operability between c++11 and python. Landauer, A., Patel, M., Henann, D., & Franck, C. (2018). A q-factor-based digital image correlation algorithm (qDIC) for resolving finite deformations with degenerate speckle patterns. _Experimental_ _Mechanics_ . [doi:10.1007/s11340-018-0377-4](https://doi.org/10.1007/s11340-018-0377-4) Lucas, B. D., & Kanade, T. (1981). An iterative image registration technique with an appli cation to stereo vision. In _Proceedings of the 7th international joint conference on artificial_ _intelligence_ _-_ _volume_ _2_, IJCAI’81 (pp. 674–679). San Francisco, CA, USA: Morgan Kaufmann Publishers Inc. [doi:10.5555/1623264.1623280](https://doi.org/10.5555/1623264.1623280) Mendoza, A., Neggers, J., Hild, F., & Roux, S. (2019). Complete mechanical regularization applied to digital image and volume correlation. _Computer Methods in Applied Mechanics_ _and_ _Engineering_, _355_, 27–43. [doi:10.1016/j.cma.2019.06.005](https://doi.org/10.1016/j.cma.2019.06.005) Olufsen, S. N., Andersen, M. E., & Fagerholt, E. (2020). ΜDIC: An open-source toolkit for digital image correlation. _SoftwareX_, _11_, 100391. [doi:10.1016/j.softx.2019.100391](https://doi.org/10.1016/j.softx.2019.100391) R Core Team. (2018). _R:_ _A_ _language_ _and_ _environment_ _for_ _statistical_ _computing_ . Vienna, Austria: R Foundation for Statistical Computing. Retrieved from [https://www.R-project.](https://www.R-project.org/) [org/](https://www.R-project.org/) Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 7 [21105/joss.02286](https://doi.org/10.21105/joss.02286) Rethoré, J. (2018). _UFreckles_ . Zenodo. [doi:10.5281/zenodo.1433776](https://doi.org/10.5281/zenodo.1433776) Roubin, E., Andò, E., & Roux, S. (2019). The colours of concrete as seen by x-rays and neutrons. _Cement_ _and_ _Concrete_ _Composites_, _104_, 103336. [doi:10.1016/j.cemconcomp.](https://doi.org/10.1016/j.cemconcomp.2019.103336) [2019.103336](https://doi.org/10.1016/j.cemconcomp.2019.103336) Roubin, E., & Colliat, J.-B. (2016). Critical probability of percolation over bounded region in N-dimensional Euclidean space. _Journal of Statistical Mechanics:_ _Theory and Experiment_, _2016_, 033306. [doi:10.1088/1742-5468/2016/03/033306](https://doi.org/10.1088/1742-5468/2016/03/033306) Roubin, E., Colliat, J.-B., & Benkemoun, N. (2015a). Meso-scale modeling of concrete: A morphological description based on excursion sets of Random Fields. _Computational_ _Materials_ _Science_, _102_, 183–196. [doi:10.1016/j.commatsci.2015.02.039](https://doi.org/10.1016/j.commatsci.2015.02.039) Roubin, E., Vallade, A., Benkemoun, N., & Colliat, J.-B. (2015b). Multi-scale failure of heterogeneous materials: A double kinematics enhancement for embedded finite element method. _International_ _Journal_ _of_ _Solids_ _and_ _Structures_, _52_, 180–196. [doi:10.1016/j.](https://doi.org/10.1016/j.ijsolstr.2014.10.001) [ijsolstr.2014.10.001](https://doi.org/10.1016/j.ijsolstr.2014.10.001) Rueden, C. T., Schindelin, J., Hiner, M. C., DeZonia, B. E., Walter, A. E., Arena, E. T., & Eliceiri, K. W. (2017). ImageJ2: ImageJ for the next generation of scientific image data. _BMC_ _bioinformatics_, _18_ (1), 529. [doi:10.1186/s12859-017-1934-z](https://doi.org/10.1186/s12859-017-1934-z) Schlather, M., Malinowski, A., Menck, P., Oesting, M., & Strokorb, K. (2015). Analysis, simulation and prediction of multivariate random fields with package randomfields. _Journal_ _of_ _Statistical_ _Software,_ _Articles_, _63_ (8), 1–25. [doi:10.18637/jss.v063.i08](https://doi.org/10.18637/jss.v063.i08) Schlömer, N., McBain, G., Luu, K., Li, T., christos, Ferrándiz, V. M., Barnes, C., et al. (2020, March). Nschloe/meshio v4.0.10. Zenodo. [doi:10.5281/zenodo.3714194](https://doi.org/10.5281/zenodo.3714194) Schroeder, L. I. W., Ng, L., & Cates, J. (2003). The itk software guide. _The_ _Insight_ _Consor-_ _tium_ . Stamati, O., Roubin, E., Andò, E., & Malecot, Y. (2018). Phase segmentation of concrete x-ray tomographic images at meso-scale: Validation with neutron tomography. _Cement_ _and_ _Concrete_ _Composites_, _88_, 8–16. [doi:10.1016/j.cemconcomp.2017.12.011](https://doi.org/10.1016/j.cemconcomp.2017.12.011) Stamati, O., Roubin, E., Andò, E., & Malecot, Y. (2019). Tensile failure of micro-concrete: from mechanical tests to FE meso-model with the help of X-ray tomography. _Meccanica_, _54_, 707–722. [doi:10.1007/s11012-018-0917-0](https://doi.org/10.1007/s11012-018-0917-0) Stavropoulou, E., Andò, E., Roubin, E., Lenoir, N., Tengattini, A., Briffaut, M., & Bésuelle, P. (2020). Dynamics of water absorption in Callovo-Oxfordian claystone revealed with multimodal x-ray and neutron tomography. _Frontiers_ _in_ _Earth_ _Science_ . [doi:10.3389/feart.](https://doi.org/10.3389/feart.2020.00006%20) [2020.00006](https://doi.org/10.3389/feart.2020.00006%20) Stavropoulou, E., Andò, E., Tengattini, A., Briffaut, M., Dufour, F., Atkins, D., & Armand, G. (2019). Liquid water uptake in unconfined callovo oxfordian clay-rock studied with neutron and x-ray imaging. _Acta_ _Geotechnica_, _14_ (1), 19–33. [doi:10.1007/s11440-018-0639-4](https://doi.org/10.1007/s11440-018-0639-4) Tengattini, A., & Andò, E. (2015). Kalisphera: An analytical tool to reproduce the partial volume effect of spheres imaged in 3D. _Measurement_ _Science_ _and_ _Technology_, _26_ (9), 095606. [doi:10.1088/0957-0233/26/9/095606](https://doi.org/10.1088/0957-0233/26/9/095606) The CGAL Project. (2020). _CGAL_ _user_ _and_ _reference_ _manual_ (5.0.2 ed.). CGAL Editorial Board. Retrieved from [https://doc.cgal.org/5.0.2/Manual/packages.html](https://doc.cgal.org/5.0.2/Manual/packages.html) Tudisco, E., Andò, E., Cailletaud, R., & Hall, S. A. (2017). TomoWarp2: A local digital volume correlation code. _SoftwareX_, _6_, 267–270. [doi:10.1016/j.softx.2017.10.002](https://doi.org/10.1016/j.softx.2017.10.002) Tudisco, E., Jailin, C., Mendoza, A., Tengattini, A., Andò, E., Hall, S. A., Viggiani, G., et al. (2017). An extension of digital volume correlation for multimodality image registration. _Measurement_ _Science_ _and_ _Technology_, _28_ (9), 095401. [doi:10.1088/1361-6501/aa7b48](https://doi.org/10.1088/1361-6501/aa7b48) Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 8 [21105/joss.02286](https://doi.org/10.21105/joss.02286) Van der Walt, S., Colbert, S. C., & Varoquaux, G. (2011). The numpy array: A structure for efficient numerical computation. _Computing_ _in_ _Science_ _&_ _Engineering_, _13_ (2), 22–30. [doi:10.1109/MCSE.2011.37](https://doi.org/10.1109/MCSE.2011.37) Van der Walt, S., Schönberger, J. L., Nunez-Iglesias, J., Boulogne, F., Warner, J. D., Yager, N., Gouillart, E., et al. (2014). Scikit-image: Image processing in python. _PeerJ_, _2_, e453. [doi:10.7717/peerj.453](https://doi.org/10.7717/peerj.453) Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., et al. (2020). SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. _Nature_ _Methods_ . [doi:10.1038/s41592-019-0686-2](https://doi.org/10.1038/s41592-019-0686-2) Wiebicke, M., Andò, E., Herle, I., & Viggiani, G. (2017). On the metrology of interparticle contacts in sand from x-ray tomography images. _Measurement_ _Science_ _and_ _Technology_, _28_ (12), 124007. [doi:10.1088/1361-6501/aa8dbf](https://doi.org/10.1088/1361-6501/aa8dbf) Wiebicke, M., Andò, E., Šmilauer, V., Herle, I., & Viggiani, G. (2019). A benchmark strategy for the experimental measurement of contact fabric. _Granular_ _Matter_, _21_ (3), 54. [doi:10.](https://doi.org/10.1007/s10035-019-0902-x) [1007/s10035-019-0902-x](https://doi.org/10.1007/s10035-019-0902-x) Wiebicke, M., Andò, E., Viggiani, G., & Herle, I. (2020). Measuring the evolution of contact fabric in shear bands with x-ray tomography. _Acta_ _Geotechnica_, _15_ (1), 79–93. [doi:10.](https://doi.org/10.1007/s11440-019-00869-9) [1007/s11440-019-00869-9](https://doi.org/10.1007/s11440-019-00869-9) Zhang, B., & Regueiro, R. A. (2015). On large deformation granular strain measures for gen erating stress–strain relations based upon three-dimensional discrete element simulations. _International_ _Journal_ _of_ _Solids_ _and_ _Structures_, _66_, 151–170. [doi:10.1016/j.ijsolstr.2015.](https://doi.org/10.1016/j.ijsolstr.2015.04.012) [04.012](https://doi.org/10.1016/j.ijsolstr.2015.04.012) Stamati et al., (2020). `spam` : Software for Practical Analysis of Materials. _Journal_ _of_ _Open_ _Source_ _Software_, 5(51), 2286. [https://doi.org/10.](https://doi.org/10.21105/joss.02286) 9 [21105/joss.02286](https://doi.org/10.21105/joss.02286)

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.