Skip to content

Commit ed9fb03

Browse files
authored
Merge pull request #193 from sbillinge/constructor
DiffractionObject can now be instantiated directly
2 parents fdbefb3 + daa9c3f commit ed9fb03

File tree

5 files changed

+395
-630
lines changed

5 files changed

+395
-630
lines changed

Diff for: news/constructor.rst

+25
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)