Skip to content

Commit

Permalink
Merge pull request #193 from sbillinge/constructor
Browse files Browse the repository at this point in the history
DiffractionObject can now be instantiated directly
  • Loading branch information
sbillinge authored Dec 4, 2024
2 parents fdbefb3 + daa9c3f commit ed9fb03
Show file tree
Hide file tree
Showing 5 changed files with 395 additions and 630 deletions.
25 changes: 25 additions & 0 deletions news/constructor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**Added:**

* <news item>

**Changed:**

* arrays and attributes now can be inserted when a DiffractionObject is instantiated
* data are now stored as a (len(x),4) numpy array with intensity in column 0, the q, then tth, then d
* `DiffractionObject.on_q`, `...on_tth` and `...on_d` are now methods and called as `DiffractionObject.on_q()` etc.`

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
Loading

0 comments on commit ed9fb03

Please sign in to comment.