Giter Club home page Giter Club logo

empyer's Introduction

** Note that this project is no long supported in favor of https://github.com/pyxem/pyxem**

EMpyer

Empyer is an extension of the hyperspy package. It provides additional functionality related to analyzing 4 and 5 dimensional data sets. Especially STEM diffraction patterns from metallic glasses. Now Empyer can be loaded just through loading hyperspy. That means that once you install EMpyer it will automatically register the new methods and signals with the hyperspy package.

Documentation can be found hosted here.

Quick Start Guide:

$pip install empyer
import hyperspy.api as hs
import matplotlib.pyplot as plt

dif_signal = hs.load(file, signal_type ='diffraction_signal')
dif_signal.plot()
plt.show()

empyer's People

Contributors

cssfrancis avatar dependabot[bot] avatar jhsunderland avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jhsunderland

empyer's Issues

Polar Signal get map function doesn't work

When you have Power Signal you should be able to get a map of the symmetries from the Power Signal and currently it throws an error.

Make sure the three cases all work as expected:
(Make an explicit test for these three cases)

ps.get_map(k_region =[3.0,6.0]) #Sums over the k region 3.0-6.0 and for all symmetries ps.get_map(k_region =[3.0,6.0], symmetry=10) #Sums over the k region 3.0-6.0, symmetries=10 ps.get_map(k_region =[3.0,6.0], symmetry=[8,9,10]) #Sums over the k region 3.0-6.0, symmetries=8-10
It might be as simple as the symmetry needs to be written not as a list but as a set eg. [ ] vs ( )

FEM Doesn't Do Shot Noise Correction

Currently there are some problems with the FEM in the program. To fix these problems a few different methods need to be implemented.

  • Adjust the current FEM methods so that they correct for shot noise
  • Make sure that the HAADF intensity filter works as well.
  • Add all methods as described in [1]

The other sources should have information on shot noise corrections.
[1] Daulton, T. L., Bondi, K. S., & Kelton, K. F. (2010).Ultramicroscopy, 110(10), 1279โ€“1289.
[2] M.M.J. Treacy, J.M. Gibson, Acta Crystallogr. A 52 (1996) 212.
[3]P.M. Voyles, M.M.J. Treacy, J.M. Gibson, H.-C. Jin, J.R. Abelson, Mater. Res. Soc. Symp. Proc. 589 (2001) 155.

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.