Skip to content

Commit 90be271

Browse files
committed
DiffractionObject can now be instantiated directlyand basic data structure is a 2D array with everything in it
1 parent fdbefb3 commit 90be271

File tree

5 files changed

+361
-631
lines changed

5 files changed

+361
-631
lines changed

news/constructor.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* arrays and attributes now can be inserted when a DiffractionObject is instantiated
8+
* data are now stored as a (len(x),4) numpy array with intensity in column 0, the q, then tth, then d
9+
* `DiffractionObject.on_q`, on_tth and on_d are now methods and called as DiffractionObject.on_q() etc.`
10+
11+
**Deprecated:**
12+
13+
* <news item>
14+
15+
**Removed:**
16+
17+
* <news item>
18+
19+
**Fixed:**
20+
21+
* <news item>
22+
23+
**Security:**
24+
25+
* <news item>

0 commit comments

Comments
 (0)