Skip to content

Commit 4640a4c

Browse files
Merge pull request #156 from easyscience/develop
Release: merge develop into master
2 parents 2669c3f + aaa9927 commit 4640a4c

54 files changed

Lines changed: 2671 additions & 23289 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ždocs/architecture/ROADMAP.mdβ€Ž

Lines changed: 81 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Legend:
1818

1919
---
2020

21-
# 1. Sample Model
21+
# 1. Structure Model
2222

23-
## 1.1 Crystal Structure Parameters
23+
## 1.1 Crystal Structure
2424

2525
### Space Group
2626

@@ -48,35 +48,51 @@ Legend:
4848
| Occupancy | βœ… | βœ… |
4949
| Symmetry _wyckoff_letter_ | βœ… | βœ… |
5050

51-
### Atomic Displacement Parameters (ADP)
51+
### Atomic Displacement (ADP)
5252

53-
| Feature | LIB | APP |
54-
| ----------------------------------------------- | --- | --- |
55-
| Isotropic Biso | βœ… | πŸ—“ |
56-
| Isotropic Uiso | 🚧 | βœ… |
57-
| Anisotropic Bani _B11, B22, B33, B12, B13, B23_ | 🚧 | πŸ—“ |
58-
| Anisotropic Uani _U11, U22, U33, U12, U13, U23_ | 🚧 | πŸ—“ |
53+
| Feature | LIB | APP |
54+
| --------------------------------------------------- | --- | --- |
55+
| Isotropic _Biso_ | βœ… | πŸ—“ |
56+
| Isotropic _Uiso_ | 🚧 | βœ… |
57+
| Anisotropic _Bani_ (_B11, B22, B33, B12, B13, B23_) | 🚧 | πŸ—“ |
58+
| Anisotropic _Uani_ (_U11, U22, U33, U12, U13, U23_) | 🚧 | πŸ—“ |
5959

6060
---
6161

62-
## 1.2 Magnetic Structure Parameters
62+
## 1.2 Magnetic Structure - EPIC
6363

64-
| Feature | LIB | APP |
65-
| ------------------------------------------------------- | --- | --- |
66-
| EPIC (Magnetic space groups, unpolarized and polarized) | πŸ—“ | πŸ—“ |
64+
| Feature | LIB | APP |
65+
| ----------------------------------------------------- | --- | --- |
66+
| Magnetic Space Groups | πŸ—“ | πŸ—“ |
67+
| Irreducible representations | πŸ—“ | πŸ—“ |
68+
| Magnetic propagation vector (_kx, ky, kz_) | πŸ—“ | πŸ—“ |
69+
| Magnetic moments (_mx, my, mz_) | πŸ—“ | πŸ—“ |
70+
| Local Susceptibility (_πœ’11, πœ’22, πœ’33, πœ’12, πœ’13, πœ’23_) | πŸ—“ | πŸ—“ |
6771

6872
---
6973

7074
# 2. Experiment Model
7175

72-
## 2.1 Powder Diffraction
73-
74-
### Fitting Methods
75-
76-
| Feature | LIB | APP |
77-
| ------------------------------------- | --- | --- |
78-
| Rietveld refinement (full pattern) | βœ… | βœ… |
79-
| Le Bail refinement (profile matching) | πŸ—“ | πŸ—“ |
76+
| Techniques | LIB | APP |
77+
| ---------------------------------------------------- | ----- | ----- |
78+
| 2.1. Powder Diffraction | βœ…/πŸ—“ | βœ…/πŸ—“ |
79+
| 2.1.1. Common features | βœ…/πŸ—“ | βœ…/πŸ—“ |
80+
| 2.1.2. Standard Bragg diffraction (CWL) | βœ…/πŸ—“ | βœ…/πŸ—“ |
81+
| 2.1.2. Standard Bragg diffraction (TOF) | βœ…/πŸ—“ | βœ…/πŸ—“ |
82+
| 2.1.3. Total Scattering (Pair-Distribution Function) | βœ…/πŸ—“ | πŸ—“ |
83+
| 2.2. Single-Crystal Diffraction (CWL) | βœ…/πŸ—“ | βœ…/πŸ—“ |
84+
| 2.2. Single-Crystal Diffraction (TOF) | βœ…/πŸ—“ | βœ…/πŸ—“ |
85+
| 2.3. Polarized Powder Diffraction | πŸ—“ | πŸ—“ |
86+
| 2.3.1. Flipping-rathio method (TOF) | πŸ—“ | πŸ—“ |
87+
| 2.3.1. Flipping-rathio method (CWL) | πŸ—“ | πŸ—“ |
88+
| 2.4. Polarized Single-Crystal Diffraction | πŸ—“ | πŸ—“ |
89+
| 2.4.1. Flipping-rathio method (CWL) | πŸ—“ | πŸ—“ |
90+
| 2.4.2. Flipping-rathio method (TOF) | πŸ—“ | πŸ—“ |
91+
| 2.4.3. Spherical neutron polarimetry | πŸ—“ | πŸ—“ |
92+
93+
## 2.1. Powder Diffraction
94+
95+
## 2.1.1 Common features
8096

8197
### Linked Phases
8298

@@ -90,7 +106,14 @@ Legend:
90106
| ----------------------------------------- | --- | --- |
91107
| Multiple regions<br>_start/end positions_ | βœ… | πŸ—“ |
92108

93-
---
109+
## 2.1.1 Standard Bragg diffraction
110+
111+
### Fitting Methods
112+
113+
| Feature | LIB | APP |
114+
| ------------------------------------- | --- | --- |
115+
| Rietveld refinement (full pattern) | βœ… | βœ… |
116+
| Le Bail refinement (profile matching) | πŸ—“ | πŸ—“ |
94117

95118
### Background
96119

@@ -130,20 +153,12 @@ Legend:
130153

131154
### Peak Profile β€” Time-of-Flight
132155

133-
CrysPy peak_shape options:
134-
135-
- "Gauss": Jorgensen (back-to-back exponentials βŠ— Gaussian)
136-
- "pseudo-Voigt": Jorgensen-Von Dreele (back-to-back exponentials βŠ—
137-
pseudo-Voigt)
138-
- "type0m": Double back-to-back exponentials βŠ— pseudo-Voigt (Z-Rietveld
139-
type 0m)
140-
141-
| Feature | LIB | APP |
142-
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --- |
143-
| Jorgensen (back-to-back exponentials βŠ— Gaussian)<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚<br>Back-to-back exponential rise Ξ±β‚€, α₁. Back-to-back exponential decay Ξ²β‚€, β₁_<br>(CrysPy) | βœ… | βœ… |
144-
| Jorgensen-Von Dreele (back-to-back exponentials βŠ— pseudo-Voigt)<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚. Lorentzian broadening Ξ³β‚€, γ₁, Ξ³β‚‚<br>Back-to-back exponential rise Ξ±β‚€, α₁. Back-to-back exponential decay Ξ²β‚€, β₁_<br>(CrysPy) | βœ… | βœ… |
145-
| Double back-to-back exponentials βŠ— pseudo-Voigt [Z-Rietveld type0m]<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚. Lorentzian broadening Ξ³β‚€, γ₁, Ξ³β‚‚<br>Rise α₁, Ξ±β‚‚. Fast decay Ξ²β‚€β‚€, β₀₁. Slow decay β₁₀. Switching r₀₁, rβ‚€β‚‚, r₀₃_<br>(CrysPy) | βœ… | πŸ—“ |
146-
| Ikeda-Carpenter βŠ— pseudo-Voigt<br>_Moderator pulse Ξ±β‚€, α₁, Ξ²β‚€, ΞΊ<br>Gaussian broadening σ². Lorentzian broadening Ξ³_<br>(CrysFML) | πŸ—“ | πŸ—“ |
156+
| Feature | LIB | APP |
157+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --- |
158+
| Jorgensen (back-to-back exponentials βŠ— Gaussian)<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚<br>Back-to-back exponential rise Ξ±β‚€, α₁. Back-to-back exponential decay Ξ²β‚€, β₁_<br>(CrysPy "Gauss") | βœ… | βœ… |
159+
| Jorgensen-Von Dreele (back-to-back exponentials βŠ— pseudo-Voigt)<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚. Lorentzian broadening Ξ³β‚€, γ₁, Ξ³β‚‚<br>Back-to-back exponential rise Ξ±β‚€, α₁. Back-to-back exponential decay Ξ²β‚€, β₁_<br>(CrysPy "pseudo-Voigt") | βœ… | βœ… |
160+
| Double back-to-back exponentials βŠ— pseudo-Voigt [Z-Rietveld type0m]<br>_Gaussian broadening Οƒβ‚€, σ₁, Οƒβ‚‚. Lorentzian broadening Ξ³β‚€, γ₁, Ξ³β‚‚<br>Rise α₁, Ξ±β‚‚. Fast decay Ξ²β‚€β‚€, β₀₁. Slow decay β₁₀. Switching r₀₁, rβ‚€β‚‚, r₀₃_<br>(CrysPy "type0m") | βœ… | πŸ—“ |
161+
| Ikeda-Carpenter βŠ— pseudo-Voigt<br>_Moderator pulse Ξ±β‚€, α₁, Ξ²β‚€, ΞΊ<br>Gaussian broadening σ². Lorentzian broadening Ξ³_<br>(CrysFML) | πŸ—“ | πŸ—“ |
147162

148163
| TOF profile | TOF source | Performance |
149164
| ------------------------------------------------------------------- | ----------------------------------------------------------------- | ----------- |
@@ -154,13 +169,13 @@ CrysPy peak_shape options:
154169

155170
---
156171

157-
## 2.1.2 Total Scattering (Pair Distribution Function)
172+
## 2.1.3 Total Scattering (Pair Distribution Function)
158173

159174
### Peak Profile
160175

161-
| Feature | LIB | APP |
162-
| ------------------------------------------------------------------------------------------------------ | --- | --- |
163-
| GaussianDampedSinc type<br>_cutoff q. broadening q. sharpening δ₁, Ξ΄β‚‚<br>damping q, particle diameter_ | βœ… | πŸ—“ |
176+
| Feature | LIB | APP |
177+
| ------------------------------------------------------------------------------------------------------------------------ | --- | --- |
178+
| Gaussian-damped sinc termination function<br>_cutoff q. broadening q. sharpening δ₁, Ξ΄β‚‚<br>damping q, particle diameter_ | βœ… | πŸ—“ |
164179

165180
---
166181

@@ -196,11 +211,20 @@ Gauss or Lorentz mosaicity distribution
196211
| ------------------------------------ | --- | --- |
197212
| Individual wavelength per reflection | βœ… | πŸ—“ |
198213

199-
## 2.3. Polarized Neutron Diffraction
214+
## 2.3. Polarized Neutron Powder Diffraction - EPIC
200215

201-
| Feature | LIB | APP |
202-
| ---------------------------------------------- | --- | --- |
203-
| EPIC (powders and single crystals, FR and SNP) | πŸ—“ | πŸ—“ |
216+
| Feature | LIB | APP |
217+
| ---------------------------- | --- | --- |
218+
| Flipping-rathio method (TOF) | πŸ—“ | πŸ—“ |
219+
| Flipping-rathio method (CWL) | πŸ—“ | πŸ—“ |
220+
221+
## 2.3. Polarized Neutron Single Crystal Diffraction - EPIC
222+
223+
| Feature | LIB | APP |
224+
| ----------------------------- | --- | --- |
225+
| Flipping-rathio method (TOF) | πŸ—“ | πŸ—“ |
226+
| Flipping-rathio method (CWL) | πŸ—“ | πŸ—“ |
227+
| Spherical neutron polarimetry | πŸ—“ | πŸ—“ |
204228

205229
---
206230

@@ -215,19 +239,21 @@ Gauss or Lorentz mosaicity distribution
215239

216240
# 4. Analysis (Fitting)
217241

218-
### Refinement Algorithms
242+
### Refinement Algorithms (numerical derivatives)
219243

220-
| Feature | LIB | APP |
221-
| --------------------------------------------------------------- | --- | --- |
222-
| Levenberg–Marquardt (numerical derivatives)<br>LMFIT minimizer | βœ… | βœ… |
223-
| Levenberg–Marquardt (analytical derivatives)<br>LMFIT minimizer | πŸ—“ | πŸ—“ |
224-
| Derivative-free minimization<br>DFO-LS minimizer | βœ… | βœ… |
225-
| Bayesian analysis<br>BUMPS minimizer | πŸ—“ | πŸ—“ |
244+
| Feature | LIB | APP |
245+
| ---------------------------------------------------- | --- | --- |
246+
| Levenberg–Marquardt<br>LMFIT minimizer | βœ… | βœ… |
247+
| Levenberg–Marquardt<br>LMFIT minimizer (scipy-based) | βœ… | βœ… |
248+
| Levenberg–Marquardt<br>BUMPS minimizer | 🚧 | πŸ—“ |
249+
| Derivative-free minimization<br>DFO-LS minimizer | βœ… | βœ… |
250+
| Bayesian analysis<br>BUMPS minimizer | πŸ—“ | πŸ—“ |
226251

227252
### Fit Strategies
228253

229254
| Feature | LIB | APP |
230255
| ---------------------------------------------------------------------------------------------------- | --- | --- |
256+
| Single fit of one experimental data block to one/multiple structural data block | βœ… | βœ… |
231257
| Sequential fit of experimental data blocks | βœ… | πŸ—“ |
232258
| Joint fit of experimental data blocks within the same calculation engine | βœ… | πŸ—“ |
233259
| Joint fit of experimental data blocks using different calculation engines<br>(e.g. CrysPy + Pdffit2) | βœ… | πŸ—“ |
@@ -292,8 +318,8 @@ Gauss or Lorentz mosaicity distribution
292318

293319
| Feature | LIB | APP | CLI |
294320
| --------------------------------- | --- | --- | --- |
295-
| List available tutorial notebooks | β€” | β€” | βœ… |
296-
| Download tutorial notebooks | β€” | β€” | βœ… |
321+
| List available tutorial notebooks | βœ… | β€” | βœ… |
322+
| Download tutorial notebooks | βœ… | β€” | βœ… |
297323

298324
---
299325

@@ -371,12 +397,10 @@ Gauss or Lorentz mosaicity distribution
371397

372398
---
373399

374-
# 10. Future Topics
375-
376-
Here, we list features that are not sorted into the above categories,
377-
but are still on our radar for future development.
400+
# 10. Unsorted features
378401

379402
- Restrains (soft constraints, e.g. bond lengths, angles)
403+
- Refinement using analytical derivatives
380404
- Global optimization algorithms (e.g. simulated annealing)
381405
- Incommensurate structures
382406
- 2D Rietveld refinement

0 commit comments

Comments
Β (0)