Giter Club home page Giter Club logo

chili's People

Contributors

andysanker avatar frederiklizakjohansen avatar ulrikfriisjensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chili's Issues

Make Figures showing why we simulate data as we do

In general, there are two ways to simulate scattering data: Using the Debye equation which is slow but accurate, or using an assumption of periodic boundary conditions.
For PDF, we make the assumption but add a variable taking into account the size of the material. Make a figure showing that it is a good assumption and it is significantly faster to calculate the PDF.
For SAS, we use the Debye Equation as the assumption is not good. Make a figure showing that.

XRD data

Use the equations in simulateSAS.py to also simulate diffraction data. Change the Q-step size and the Q-range such that the Q-range is significantly larger and use a larger step size.

Double bonds (edges) in small unit cells

For now, the code in the h5-constructor class simply ignores these double bonds. I have a failed attempt in the code reference below. We need to figure out either how to implement this in a consistent manner, or if we even need it, or if the supercell representation idea where all the input structures have roughly the same number of atoms (from meeting, 12/06-23) is a better idea overall.

https://github.com/UlrikFriisJensen/InOrgMatDataset/blob/1c5e703e2293807139e708e3ce4e0d1e3a3c4592/Code/h5Constructor.py#L93-L106

Neutron / Electron Data

The simulatePDF.py and simulateSAS.py can only simulate X-ray scattering patterns.

Add neutron (and electron) patterns to it. How to do it:

  • For PDF: We can do it using the PDFGenerator used to do fitting (stuff like PDFcalc.radiationType="N"), however, for the PDFCalculator for simulation, it does not work. make an issue in the DiffPy forum: https://groups.google.com/g/diffpy-users
  • We using cromer-mann coefficient to calculate the Q-dependency of the formfactors for each atom. For neutrons it is way simpler. Find the form factor of each element and remove the Q-dependency.

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.