GithubHelp home page GithubHelp logo

hakonanes / correlated-grains-particles-workflow Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 119.22 MB

Workflow for correlated grain and particle analysis with a multi-modal EBSD/BSE dataset

License: GNU General Public License v3.0

MATLAB 0.08% Jupyter Notebook 99.92%
ebsd electron-backscatter-diffraction python paper aluminium aluminum

correlated-grains-particles-workflow's Introduction

Correlated grain/particle analysis from directly combined EBSD/BSE data

DOI

This repository contains Jupyter notebook files, MATLAB scripts, and other files, apart from the raw BSE images and EBSD datasets, which are necessary to reproduce the results and figures in the paper "Correlated subgrain and particle analysis of a recovered Al-Mn alloy by directly combining EBSD and backscatter electron imaging", published in Materials Characterization (doi):

@article{aanes2022correlated,
  author   = {Håkon W. Ånes and Antonius T. J. {van Helvoort} and Knut Marthinsen},
  title    = {Correlated subgrain and particle analysis of a recovered AlMn alloy by directly combining EBSD and backscatter electron imaging},
  doi      = {10.1016/j.matchar.2022.112228},
  issn     = {1044-5803},
  pages    = {112228},
  journal  = {Materials Characterization},
  keywords = {Electron backscatter diffraction, Texture analysis, Particle analysis, Image registration, Data fusion},
  year     = {2022},
}

The preprint is available on arXiv (doi):

@article{anes2022correlated_arxiv,
  author  = {{\AA}nes, H{\aa}kon Wiik and van Helvoort, Antonius TJ and Marthinsen, Knut},
  title   = {Correlated subgrain and particle analysis of a recovered Al-Mn alloy by directly combining EBSD and backscatter electron imaging},
  doi     = {10.48550/arXiv.2205.05514},
  journal = {arXiv preprint arXiv:2205.05514},
  year    = {2022},
}

The raw EBSD and BSE data is available on Zenodo (doi):

@dataset{aanes2022correlated_data,
  author    = {Håkon Wiik Ånes and Antonius T. J. van Helvoort and Knut Marthinsen},
  title     = {{Electron backscatter diffraction data and backscatter electron images from a cold-rolled and recovered Al-Mn alloy}},
  doi       = {10.5281/zenodo.6470217},
  note      = {{The data was acquired while Håkon Wiik Ånes received financial support from the Norwegian University of Science and Technology (NTNU) through the NTNU Aluminium Product Innovation Centre (NAPIC).}},
  publisher = {Zenodo},
  year      = {2022},
}

The contents in this repository is licensed under the GPLv3+, since many of the softwares used have the same license.

Contents

notebooks

Static views of the notebooks are available via nbviewer.

Python packages used in the notebooks are listed in requirements.txt and can be installed into a virtual or conda environment:

pip install -r requirements.txt
  • ebsd1_dewrap.ipynb: EBSD datasets acquired with a NORDIF detector are sometimes written with the last column of patterns as the first column. This notebook checks if this is the case, places the patterns correctly in the map, and writes them to an HDF5 file in the kikuchipy h5ebsd format.
  • ebsd2_preprocess.ipynb: Generate indexing-independent views of an EBSD dataset (mean intensity map, virtual backscatter electron images, image quality map, and average neighbour dot product map) and calibrate the detector-sample geometry via projection center (PC) optimization with the PyEBSDIndex Python package. An average PC is used in dictionary indexing.
  • ebsd3_dictionary_indexing.ipynb: Obtain crystal orientations from the EBSD patterns via dictionary indexing (DI) as implemented in kikuchipy. Requires an Al master pattern generated with EMsoft.
  • ebsd4_refinement.ipynb: Refine crystal orientations obtained from DI.
  • generate_figures_in_paper.ipynb: Generate final figures used in the paper.
  • image_registration.ipynb: Manually identify control points in BSE images and EBSD intensity maps, perform image registration of BSE and EBSD datasets, and insert particles detected in BSE images and their sizes into EBSD datasets, making up the multimodal datasets.
  • particle_detection.ipynb: Detect particles in BSE images and EBSD intensity maps.

Installation of packages has been tested to work on Linux (Ubuntu 22.04) and Windows 10. All notebooks have been tested to work on Linux, while the two indexing and refinement notebooks have also been tested to work on Windows 10.

matlab_scripts

MATLAB packages used in the scripts are MTEX and export_fig.

  • estimate_gnd.m: Estimate geometrically necessary disloations prior to grain and texture analysis.
  • orientation_analysis.m: Correlated analysis of subgrains and particles based on the multimodal dataset, specifically dispersoids at subgrain boundaries and subgrains at constituent particles.

data

The control points and processed BSE images (reference images) and EBSD intensity maps (sensed images) used in image registration are included in this directory.

correlated-grains-particles-workflow's People

Contributors

hakonanes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jwestraadt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.