Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype interface changes #87

Closed
wants to merge 8 commits into from
Closed

Prototype interface changes #87

wants to merge 8 commits into from

Conversation

Lazersmoke
Copy link
Contributor

(contains breaking changes, but is ready to merge/get feedback)

Lazersmoke and others added 8 commits June 23, 2023 13:31
* Add `binned_histogram`

- Updated FeI2 example to include binning
- Added Binning Tutorial as an example (maybe this should go in a subfolder?)
- Added energy broadening for binned data
- Added `connected_path_bins` for making spaghetti plots while recording the binning parameters for each subplot (for use in Mantid)

* Add `intensities_bin_centers(swt,...)` for SWT fake-binning (The correct calculation involves integrating over bins)

* Implement histogram binned powder averaging (& added to powder tutorial)
It now automatically calculates a very conservative estimate of how many BZ's you need to fill out the histogram, or can be manually specified. The example now demonstrates plotting each BZ individually; hopefully it's not too slow!
The binwidth should always be set just a tad large so that the `binend` value always falls solidly within the last bin. This prevents "ragged edge" empty bins at the far edge of histograms
* Proposed modifications to the interface

* Standardize pretty-printing of System and StructureFactor

* Add IntensityFormula types

* Fix things in docs without tests
@Lazersmoke Lazersmoke closed this Jul 13, 2023
@Lazersmoke Lazersmoke deleted the bins branch July 18, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants